If I have a definition in an outline branch:
text= """ first line
second line
third line"""
In the derived file the text will include all the tabs that are
inserted before that outline level. So the derived code will look
something like:
text= """ first line
second line
third line"""
^^^
note the whitespace!
And when text is printed it comes out:
first line
second line
third line.
Is there any way to tell Leo to forget the indents within triple
quotes when deriving (as does the python compiler...) ?
Thanks for any suggestions on how to handle this (right now, I just
move the definition to an unindented part of the code.)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---