tbh1 / sublime-notes

A syntax designed to bring syntax highlighting to every day note taking.
76 stars 17 forks source link

Sublime crashes when opening a .notes file #14

Closed G-Kevin closed 8 years ago

G-Kevin commented 8 years ago

Hi, this behavior appears since some dev builds and on the latest stable build.

Just opening a .notes file will crash Sublime, so there is no logging possible.

This is not the same issue as reported in #11, because it does not depend on any content. Further, the file content isn't shown at all, you just see the loading bar and then Sublime will crash.

bomis commented 8 years ago

Having the same issue. With a little more details. I just updated to the latest build (3114) of sublime text (windows). I uninstalled notes and installed again. seems to have fixed the crashing issue but it still hangs for several minutes before opening the .notes file.

derek1906 commented 8 years ago

It doesn't crash on mine, but editing a .notes file occasionally lags and it takes a very long time to load the file. Setting a file to the Notes syntax will freeze Sublime.

goralczyk commented 8 years ago

Similar issue here. Last build (3114) made sublime unbearably slow when working with .notes. I'm on xubuntu 16.04.

wesmattson commented 8 years ago

Seeing this issue as well on 3114 from a mac on 10.11.3

freb commented 8 years ago

Same for me on build (3114) for Windows.

tbh1 commented 8 years ago

Latest releases of ST3 seem to suffer CPU spikes when running regex over URLs. Even including the logic to highlight URLs seems to reproduce the issue. I've tested with multiple patterns and I believe it's related to sublime's ability to open URLs when right clicked.

I've disabled URL highlighting which seems to fix the issue locally.