SublimeText / TrailingSpaces

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

trailing_spaces_highlight_color not working #87

Closed heitorsilva closed 4 years ago

heitorsilva commented 9 years ago

Hello!

I'm using Sublime Text 3 (3083), and a IR_Black theme. My user settings for TrailingSpaces are as follows:

{
   "trailing_spaces_highlight_color": "",
   "trailing_spaces_regexp": "(?<=\\S)[\t ]{2,}|[ \t]{2,}$|(!?^\\s+)"
}

The result I get is always this white background with red borders, no matter what I put inside hightlight_color setting.

image

All the other settings work fine if I insert them on my user config, just highlight that doesn't. Already tried suggestions from #4 and #12, but none worked.

What should I do? This white thing bothers me...

heitorsilva commented 9 years ago

I've found out that it only works when I close Sublime and re-open it. Is that the expected behaviour? Shouldn't it auto-reload when the settings file is saved?

rchl commented 4 years ago

Currently, settings are only read on load. It could be fixed but that's not part of this issue.