A limited but simpler solution is to put your comment in the headline and 
have an empty body. You can have as many nodes as you want with empty 
bodies and they don't affect the output to the @clean file at all. Like it 
said it's pretty limited.

On Friday, February 12, 2016 at 11:56:30 AM UTC-5, Terry Brown wrote:
>
> Probably only because it just came up in another thread, it occurs to me 
> that you could use the backlinks plugin for this.  I.e. the answer to your 
> question is no, there isn't really a way to do that directly, but backlinks 
> would allow links from nodes in you @clean code tree to nodes somewhere 
> else with the comments.  The backlink UI tab (in the "log" or "tab" pane) 
> would display the headline of the comment node, and clicking on it would 
> take you to the node, much like having a child node. You might want to use 
> the free_layout pane customization system to give backlinks its own pane, 
> so it's not hidden each time the log tab pops to front in the tab pane.
>
> Cheers -Terry
>
> ------------------------------
> *From:* Propadovic Nenad <[email protected] <javascript:>>
> *To:* leo-editor <[email protected] <javascript:>> 
> *Sent:* Friday, February 12, 2016 8:02 AM
> *Subject:* How do I add a child node to comment parrent in @clean?
>
> Hello everybody,
> lets say I want to create a @clean (Python) file and I want to attach 
> comments to some nodes. 
> I imagine those comments being child nodes of nodes to be generated. 
> But I don't want the the nodes containing comments to be part of the 
> created external file.
> I'd assume this to work similar like 
> http://leoeditor.com/tutorial-rst3.html#rst-ignore-rst-ignore-tree-ignore-text,
>  
> but for @clean.
> I tried @ignore and found it's deprecated for @lean files.
> I tried, naively, to add comments to orphan nodes. You know the result.
> So how do I do this correctly? Is there a way?
> Thanx in advance,
> Nenad
> -- 
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to