SublimeText / TrailingSpaces

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

Disable whitespace highlighting for views which are part of HexViewer #20

Closed tripplet closed 4 years ago

tripplet commented 12 years ago

Disable whitespace highlighting if the view is part of the HexViewer plugin, because in hex editor view removing trailing whitespace makes no sense.

https://github.com/facelessuser/HexViewer

tripplet commented 12 years ago

Good suggestion facelessuser, just implemented it

jamischarles commented 11 years ago

+1 would love to be able to turn this off for Markdown files.

tkellen commented 10 years ago

:+1:. Is this possible now?

rchl commented 9 years ago

Maybe a setting to disable highlighting on all views that have no file name? That's because adding the syntax of all possible plugins would be a bit cumbersome. Scratch views created by plugins are typically without file name (view.file_name() is empty).

Of course that could be a annoyance in some situations (maybe one is creating a new file and want spaces highlighted 'before' file is saved), but at least as an options it's worth a try.

FichteFoll commented 4 years ago

Closed by #47. Please open a new issue or PR for the more general solutions discussed.