On Oct 15, 9:29 am, "Edward K. Ream" <[email protected]> wrote:

>     "Wouldn't it be great if we all could remember what we,
>     and others, have already done :-)"

As one small step in this direction, rev 4597 changes the
mod_scripting plugin so that the name of the command created by an
@button nodes does not include any [<tag>] that immediately follows
@button.  Examples:

    @button [ekr] x
    @button [edit] y
    @button [important] z

These buttons create commands named x, y and z, and the name of the
buttons are x, y and z.

Note that the '[' must be the first non-blank after @button to be
recognized and removed.

The code is a straightforward addition to cleanButtonText in
mod_scripting.py: it is unlikely to have any impact whatsoever to
existing @button nodes.

The intended use is for searches of the form @button [some tag].

Edward

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

Reply via email to