On Sat, 13 Apr 2013 16:48:46 +0800 HaveF <[email protected]> wrote:
> Using @url in the leo script, I can make the scripts consistency and > diversity at same time. I do this kind of thing by keeping buttons in @files... @file ~/.leo/gen # general utility buttons @file ~/.leo/dml # tools for editing an XML dialect I use @file ~/.leo/sql # tools for editing SQL / interacting with server so changes made in one outline are automatically propagated to other outlines next time they're reloaded. You just reference the files in each outline where you want those buttons. > 2. Feature request > At this time, you can use this idea by comment the @url line > after jump. If @url isn't comment, the leo-editor will say... > SyntaxError: invalid syntax > at the @url line. > > Maybe it is a good idea to omit the @url line in the script when executing > script? This probably would make sense, already the scripting machinery is ignoring things like @nocolor or @language cobol or @nowrap etc. Maybe you could file a wish-list bug item for tracking. 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
