SublimeText / TrailingSpaces

Highlight trailing spaces and delete them in a flash.
MIT License
897 stars 94 forks source link

Plugin makes Sublime Text significantly slower #107

Closed compie closed 4 years ago

compie commented 8 years ago

After installing this package scrolling through a large text file becomes a lot slower. The UI is not updated very often anymore. Disabling the plugin immediately fixes the problem.

aramk commented 8 years ago

I'm experiencing very slow typing in the find box. For some reason it's running the plugin on the whole file each time I type a character...

jbrooksuk commented 8 years ago

What version of ST are you both using?

compie commented 8 years ago

I'm using ST build 3114

2016-08-08 15:31 GMT+02:00 James Brooks notifications@github.com:

What version of ST are you both using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SublimeText/TrailingSpaces/issues/107#issuecomment-238236713, or mute the thread https://github.com/notifications/unsubscribe-auth/AANR1LXnBdqQpveBnnLnsjUHmVAQDPtDks5qdy_HgaJpZM4JQH48 .

aramk commented 8 years ago

3114 for me also On Tue, 9 Aug 2016 at 12:27 AM, compie notifications@github.com wrote:

I'm using ST build 3114

2016-08-08 15:31 GMT+02:00 James Brooks notifications@github.com:

What version of ST are you both using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/SublimeText/TrailingSpaces/issues/107#issuecomment-238236713 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AANR1LXnBdqQpveBnnLnsjUHmVAQDPtDks5qdy_HgaJpZM4JQH48

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SublimeText/TrailingSpaces/issues/107#issuecomment-238254610, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjDSrJCl7ybWiV7jjmkgTNq5ZaaoqJ-ks5qdzzWgaJpZM4JQH48 .

compie commented 7 years ago

Is there any plan to solve this? Otherwise I might look into it myself.

rchl commented 4 years ago

A lot has changed since this issue was created but the latest version has many performance improvements (processing only visible region, running handler in a separate thread) so it will never cause issues with typing.