redoPop / SublimeGremlins

Reveal odd and invisible whitespace characters in Sublime Text.
43 stars 3 forks source link

output in the console: AttributeError: 'NoneType' object has no attribute 'run_command' #6

Closed x100ex closed 5 years ago

x100ex commented 5 years ago

Closing the modified tab without saving causes:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 611, in on_activated_async
    callback.on_activated_async(v)
  File "/Users/aap/Library/Application Support/Sublime Text 3/Packages/SublimeGremlins/Gremlins.py", line 173, in on_activated_async
    self.name_current_gremlin(view)
  File "/Users/aap/Library/Application Support/Sublime Text 3/Packages/SublimeGremlins/Gremlins.py", line 168, in name_current_gremlin
    view.window().run_command('gremlins_name_current', {
AttributeError: 'NoneType' object has no attribute 'run_command'