Hi, ;-)

1. Aha
Sometimes, I just wonder, I write a script (say, @button button-1) in
leo-file-A.leo, and reuse it by copy(ctrl+shift+c) the button
to leo-file-B.leo.

When I'm working on leo-file-B.leo, I may have ideas to improve the
@button button-1, but at that time(working on leo-file-B.leo), I may
forget where the original place of @button button-1 is. Even I store
the original scripts in the default workbook.leo is a tedious work to
deal with(open it, locate where the original script is, update it...)

But! After I add the @url at the first line of @button button-1, I can
decide
if the improvements what I made on leo-file-B.leo's @button button-1
should or shouldn't be merged to the original and upstream @button
button-1(in leo-file-A.leo) easily by just a click.

And if I work on leo-file-C.leo, I want to use the same script, but I just
only remember I use the script in the leo-file-B.leo instead of
 original place. With @url I can easily jump to original
place, and copy it to leo-file-C.leo.

Using @url in the leo script, I can make the scripts consistency and
diversity at same time.

Great!
But, Wait, wait!

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?

-- 
--
Sincerely,

HaveF

-- 
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.


Reply via email to