On Fri, 14 Mar 2014 09:30:54 -0400 Jacob Peck <[email protected]> wrote:
> On 3/14/2014 5:30 AM, Reinhard Engel wrote: > > Thanks for sharing this tutorial! It makes Leo scripting a lot more > > accessible. > > > > Two tips: > > > > - In your tutorial in '@button design-to-file', the '@others' > > directive is missing. The file though, is ok. > > > > - docstringnode.b = '"""%s"""' % designnode.b > > is better readable than > > docstringnode.b = "\"\"\"%s\"\"\"" % designnode.b > > > > Reinhard > > > |Thanks for these suggestions! I've updated the tutorial + file to > match. > > Ran into an interesting limitation of Leo on the way, too -- you > can't put @others by itself on a line in an @edit node... it's just > not written to the file on save. > > -->Jake > | > Just use @others :-) That's @<zero-width-space>others - try stepping the cursor through it with the cursor keys. Cheers -Terry -- 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. For more options, visit https://groups.google.com/d/optout.
