icylace / CursorRuler

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

Crashing in Sublime Text 2 Only #11

Closed icylace closed 8 years ago

icylace commented 8 years ago

The following was originally in the README:

Known Major Bug for Sublime Text 2 Only

While the plugin is enabled and a selection is attempted to be extended with mouse dragging it freezes the entire editor when moving the mouse pointer out of the view or onto the view's minimap. This also occurs on empty views. The freeze in this scenario is caused by on_selection_modified() attempting to call the ST2 API or even attempting to print to the console.

The workaround is to do selection without mouse dragging or use mouse dragging while keeping the pointer within the view.

I have attempted to use threading and other potential solutions to no avail. I have not found a proper solution to this in ST2.

ST3 seems to completely avoid this problematic scenario. I suppose it's due to its API being thread-safe.

icylace commented 8 years ago

It appears CursorRuler 1.1.5 fixes this long-standing bug, too! I've updated relevant documentation to mention that.