icylace / CursorRuler

Marks the current cursor position(s) using dynamic rulers. For Sublime Text 2 and 3.
62 stars 5 forks source link

please delete #9

Closed ghost closed 8 years ago

ghost commented 9 years ago

x

icylace commented 8 years ago

Apologies for responding late !

Which build of Sublime Text 3 are you running? I'm running build 3095 and don't see any errors. Are there any other errors in your console?

LeonardoGentile commented 8 years ago

Exact same error for me, I am on build 3114

File "CursorRuler in /Users/Myuser/Library/Application Support/Sublime Text 3/Installed Packages/CursorRuler.sublime-package", line 252, in on_command_mode_change
File "CursorRuler in /Users/Myuser/Library/Application Support/Sublime Text 3/Installed Packages/CursorRuler.sublime-package", line 248, in on_selection_modified
File "CursorRuler in /Users/Myuser/Library/Application Support/Sublime Text 3/Installed Packages/CursorRuler.sublime-package", line 157, in is_enabled
AttributeError: 'NoneType' object has no attribute 'settings'
icylace commented 8 years ago

I was unable to reproduce the error @jaepage reported but I was able to reproduce the error @LeonardoGentile reported by doing the following:

  1. Open a new window.
  2. Start typing.

So, the error was caused by empty windows. I've put out a bugfix release that hopefully takes care of it.

icylace commented 8 years ago

FYI, #12 is about the same type of issue which was the original one here.