SublimeText / WordHighlight

Highlight all copies of the currently selected word.
MIT License
179 stars 24 forks source link

Persistent lag with large files #61

Open Gabriel-p opened 9 years ago

Gabriel-p commented 9 years ago

With files containing several thousand lines (example data file), the package slows Sublime down to a halt when attempting to edit such file.

I've tried modifying the settings using a smaller file size limit (even down to 1!) and a smaller value of "when_file_size_limit_search_this_num_of_characters", but the lag remains.

usernamelectro commented 8 years ago

I just found this bug while I was editing some fairly large .srt file of 263 KB in size. This file of mine have 7477 lines, 127587 characters in total. I wanted to select every fifth number in those rows using regex, and I did it but just after selecting all those lines using shift+end, Sublime lags for over 30 second in waiting time.

In time of writing this post I am on: