[Leo-main] Inlining Sections
Brought to you by:
edream
From: William T. <wtr...@sh...> - 2003-10-17 21:48:41
|
I've just started using Leo. I've been reading the docs and studying the example. I'm making pretty good progress and I'm impressed. Can I use sections inline? Here's a small example to clarify my question: Leo 4.0, build 1.95 , October 17, 2003 Python 2.3.0, Tk 8.3.3 + @file hi.py def hi(): print '<<howdy>>' #indented with a tab + << howdy >> hello When I save this I get the following: ~/leo# cat hi.py #@+leo-ver=4 #@+node:@file hi.py def hi(): print ' #@nonl #@<< howdy >> #@+node:<< howdy >> hello #@-node:<< howdy >> #@afterref ' #indented with a tab #@-node:@file hi.py #@-leo Is there some way to turn off all the sentinels (I think that's the right term) that have been generated in my python string in the print statement? Also, I notice in the generated code that my print command isn't indented. What did I do wrong? Thanks very much, Bill |