On Thu, May 9, 2013 at 9:29 AM, daniel <[email protected]> wrote:
> Hello,
>
> I have very little experience using section references, but I like them to
> organize long files (plain text) by separating meaningful groups of
> paragraphs of a text in different child-nodes as shown in the screenshot.
>
> Sometimes it would be useful to create a version of a file without some of
> the sections, as presented in the screenshot. I wonder if there is a way to
> comment out a section?
> Or maybe there is a different and smarter way of achieving the same goal?
> Or maybe I'm just missing something.
>
For python, you can just do::
if 0:
<< a section reference >>
Text files are different, because there is no such thing as "commenting
out" text. A workaround is to move the section definition nodes out of the
tree, and disable the section *reference* by doing, say, <\< a section
reference >>. Or delete the reference entirely.
HTH.
Edward
--
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 http://groups.google.com/group/leo-editor?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.