ohanhi / atom-highlight-bad-chars

Atom plugin: Highlight bad Unicode characters that can cause hard to spot syntax errors.
MIT License
19 stars 12 forks source link

Hangs the editor #2

Closed stugol closed 5 years ago

stugol commented 8 years ago

If I do a regex search for [\0], then use find-and-replace:find-all to create cursors for each match, the editor deadlocks. This does not happen when your plugin is not active.

Obviously my file contains a lot of hidden nulls.

ohanhi commented 5 years ago

I would imagine this was fixed in Atom 1.23, as the onDidChange event was fired per cursor before that version, and now it only fires once per change. If this is still an issue, I'll reopen.