Open glyph opened 12 years ago
Same as #13.
Testing the view
parameter passed to the command against view.window().active_view()
should help here.
Comparing with active view would be bad for actual inactive but visible views. Those should still show trailing spaces.
Build results seem to be a bit trickier to handle as those don't seem to be that unique (maybe something in view's settings can identify it?).
Lots of build output has trailing spaces in it, especially tools (like unit test frameworks) which generate output incrementally. I think build result windows should have trailing space highlighting disabled by default.