On Tue, May 12, 2015 at 11:19 AM, 'Terry Brown' via leo-editor <
[email protected]> wrote:

> On Tue, 12 May 2015 09:10:40 -0700 (PDT)
> "Edward K. Ream" <[email protected]> wrote:
>
> > 2. Eliminate the code in plugins_menu.py that creates the invisible
> > "cmd_" convention for defining commands.  This convention is no
> > longer needed now that @cmd and @g.command exist.
>
> "cmd_" convention also creates sub-menu items for the plugin in the
> Plugins menu, just so you know.
>

​Thanks!  I didn't know that.  So I guess I'll use @g.command to define the
command, and keep the code that creates the submenus.

Edward

-- 
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/d/optout.

Reply via email to