I need help understanding howthe context_menu plugin works and I have some questions
--Does the context_menu.py plugin automatically determine where to place each contextmenu command as either a right click Headline item or a right click Body item? What other 'context' are available and is the potential placement listed anywhere ? Also can an item be in two or more right click menus? One reasons I ask is because I expected copy-text to work as a body command but it only shows up as a Headline item --Where are the default context items shown (i.e. documented)? With a right click on a Headline I see Edit, Open, Delet and Mark and I'd like to remove some of these --I assume that more than mini buffer commands are valid as context menu items and I can I write script to serve as an item. But I am confused by these directions at http://webpages.charter.net/edreamleo/plugins.html#contextmenu-py And call this in your plugin once: g.tree_popup_handlers.append(nextclone_rclick) Where is g.tree_popup_handlers.append( .. ) placed? a myplugins.py file maybe? I see the node << Add commands >> under install_handlers in the @file contextmenu.py plugins node but I prefer to not modify the contextmenu.py file -- 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.
