g.command minor command naming issue

2015-05-14 Thread 'Terry Brown' via leo-editor
A minor thing, but the old def cmd_jump_to_error() code in leoscreen.py plugin would generate the command leoscreen-jump-to-error. The new g.command(leoscreen-jump_to_error) decorator is generating the command leoscreen-jump_to_error. Trivial solution is to change the decorator to

Re: g.command minor command naming issue

2015-05-14 Thread Edward K. Ream
On Thursday, May 14, 2015 at 9:30:17 AM UTC-5, Terry Brown wrote: I'm wondering if g.command should translate '_' to '-' automatically? I would prefer that everything is explicit, as much as possible. So no automatic translation. I'll do a regex search for '_' in decorators soon :-) And