Hello all,
Trying to define a command in myLeoSettings.leo in a way that it will be
available to all open .leo files. So far, I'm failing miserably.
I've tried the following:
myLeoSettings.leo -> @settings -> @command my-command::
@language python
g.es("it worked!")
myLeoSettings.leo -> @command my-command::
@language python
g.es("it worked!")
myLeoSettings.leo -> @command my-command::
@language python
@g.command('my-command')
def my_command():
g.es("it worked!")
So far, it's only available in myLeoSettings, no matter which of the
above I try.
Any clues?
Thanks,
-->Jake
--
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?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.