On Mon, May 21, 2012 at 10:05 AM, Terry Brown <[email protected]>

> I notice it doesn't pick up @rclick nodes, probably because they're not
> registering themselves properly with the command sub-system.

Unlike the print-commands and print-settings commands, the
print-buttons command requires a few hacks in order to get the origin
info.  These hacks are in ParserBaseClass.doCommands/doButtons and in
mod_scripting.py, particularly handleAtButtonNode &
handleAtCommandNode.  All these methods set various g.app.config
globals.

It's far from pretty, but similar hacks would do for any other kind of
node, including @rclick nodes.

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