On Sun, Apr 13, 2008 at 12:27 PM, TL <[EMAIL PROTECTED]> wrote:

>
> Is there a way for an event handler to return a value indicating that
> no additional handlers should be called?


According to the node:

Code-->Core classes...-->@thin leoPlugins.py-->doHandlersForTag

in leoPy.leo,  if a handler returns anything except None all future handlers
will be disabled.  I suppose it would be possible to coordinate between
handlers: they could see if a "partner" exists using getHandlersForTag.
Just a thought: this is a weakness in the present plugin handling.

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