On Tue, Feb 21, 2017 at 3:39 AM, jkn <[email protected]> wrote:
> [I tried this code...]
>
>
> ''' Test parse-body command '''
>
> class MyFirstClass():
> def __init__(self):
> pass
>
> def newFunc(self):
> pass
>
> class MySecondClass():
> def __init__(self):
> pass
>
> def newFunc(self):
> pass
>
>
> and nothing happens when I execute the parse-body command.
>
Strange! It works for me.
I did manage to crash parse-body just now with this code:
@cmd('reload-settings')
def reloadSettings(self, event=None):
'''Reload all static abbreviations from all config files.'''
self.reloadSettingsHelper(all=False)
@cmd('reload-all-settings')
def reloadAllSettings(self, event=None):
'''Reload all static abbreviations from all config files.'''
self.reloadSettingsHelper(all=True)
But this crash shows up prominently in the log window.
Are you running Leo from a console?
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.