On Sun, 17 May 2015 11:48:26 -0500
"'Terry Brown' via leo-editor" <[email protected]> wrote:
> file:///home/tbrown/t/Package/leo/git/leo-editor/leo/plugins/leoPluginsRef.leo#Plugins:2-->Scripting:14-->@file%20leoscreen.py:0-->cmd_run_all_here%20(leoscreen_Controller):12
>
> and friends are getting c instead of {'c':c} now as their first
> argument.
Ok, completely misinterpreted what was going on here, the cmd_* methods
are getting an event as their first arg., and had already been adjusted
to work that way. The problem was just one isolated case where a cmd_
method called another with the wrong first arg., fixed in 0d3dc41
Cheers -Terry
> Also, Ctrl-B on:
> g.command('test-command')
> def test(*args, **kwargs):
> g.es(str(args))
> g.es(str(kwargs))
> g.es("done")
>
> puts done in the log but doesn't create a new command.
>
> Not really worried about the latter, but just want to know whether to
> change leoscreen etc. or not - docs.
> http://leoeditor.com/scripting.html#the-g-command-decorator are
> (understandably) out of sync.
>
> 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/d/optout.
--
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.