SublimeText / TrailingSpaces

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

Include whole file when running "Delete Trailing Spaces" command #136

Closed rchl closed 4 years ago

rchl commented 4 years ago

Due to the optimization of only matching in the visible region, the command to delete trailing spaces in a file only worked on the visible region.

Fix by adding a flag to specify that the whole document should be scanned and use that from the command.

@mheinzler