On Wed, 27 Nov 2013 09:25:26 -0800 (PST) jkn <[email protected]> wrote:
> Hi Terry > Ctrl-click on > > > > > mailto://[email protected] <javascript:> > > > > works, if that's a workable work around for you - the "@url " part's > > irrelevant for the ctrl-click pathway. > > > > Ahh ... that's very useful, thanks. That appears to differ from the > canonical form of the mailto: URL (from what I can tell), > but I can certainly live with that... > > Now I just want to understand about the 'ctrl-click pathway' and making a > body text rclick menu alternative ;-) Hmmm, it looks to me like contextmenu.py, the plugin which manages the context menu on the tree, does that for the tree only, and there's currently no equivalent for the body. Obvious solution would be to extend contextmenu.py to manage the context menu on the body, but that might be deeper than you want to go. I'm not sure how the ctrl-click thing works, but the context menu approach is probably simpler and more flexible. Terminology note: @rclick nodes are a special @settings node to add child actions to @buttons, so in addition to the standard "Remove button" and "GoTo script" actions when right-clicking on a button, you can have as many arbitrary actions in the button's context menu as you want. So, @rclick is for the context menu of buttons, not to be confused with "rclick" as an abbreviation for "right-click" as a misspelling ;-) of "context-menu" for the tree. Cheers -Terry -- 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. For more options, visit https://groups.google.com/groups/opt_out.
