TrailingSpaces icon indicating copy to clipboard operation
TrailingSpaces copied to clipboard

Unhilight current line when in "edit mode"

Open sampumon opened this issue 11 years ago • 1 comments

Unhilight any trailing space on current line(s) when editing them. This is a compromise between the possible modes of include_current_line setting.

Might be a bit hacky with global dicts saving stuff, but noticed similar hackiness with other globals already present :)

Set "trailing_spaces_unhilight_editing_line": true to enable. Note that it does its thing only if trailing_spaces_include_current_line is true (which it is by default).

Fixes #42.

sampumon avatar Mar 31 '13 15:03 sampumon

I had no clue what this option is supposed to do before looking at the issue. Which means the naming is not good. But honestly, I think we could instead allow auto value for trailing_spaces_include_current_line to toggle that behavior. That seems cleaner and more understandable to me.

rchl avatar Mar 28 '20 21:03 rchl