On Wed, May 19, 2010 at 5:21 PM, Terry Brown <[email protected]> wrote:

> Note to self, button scripts may have descendant nodes, so this would mean 
> touching the descendant node script collection code to stop it collecting 
> @rclick nodes, which is somewhat non-trivial.

It would be a huge mess, in a sense of being a weird special case in
fundamental code.

This is not as intuitive, but more hygienic:

@button foo
   CODE
@rclick bar
@rclick baz

(i.e. for @rclick node, scan to previous sibling until @button is
found and add command there).

-- 
Ville M. Vainio
http://tinyurl.com/vainio

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