-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlighting Does No Work On Sublime Build 3143 #121
Comments
Can confirm it stopped working (causing me to commit trailing spaces -.-). Sublime text version 3.0 Build 3143, macOS version 10.12.6. |
Confirmed. I tried copy-pasting all the settings from Default configuration file into the user settings file, and the only line that changes with each plugin activation is the |
Confirmed. on macOS, dev channel build 3148. |
Comfirmed, on Windows 10, build 3143.
|
I have the same issue. |
I found that plugin reads empty string as default value from settings in if current_highlighting_scope == '':
current_highlighting_scope = "invalid" I will try to find out the reason of this later. Maybe |
Windows 10, build 3143. |
See issue #116. This fixes the problem, at least temporarily. Version 3.0 Build 3143.
From Stack Overflow
|
@ecspresso is right. Just tried now (set value "invalid" and restart right after) and it works! Although I have no time atm to see why that happens, fix the code and make a PR :( |
Based on #125, for more recent Sublime Text 3 builds the "region.redish" might be a more fitting value than "invalid" for some color schemes. |
Update: to me the problem keeps reappearing regularly, even after fixing the settings. The bug lays in persisting the setting in the code, assuming that the value is the one desired by the user, but looks like the settings are not loaded properly in some situations, so the plugin will find an empty string and re-persist that (why? 🤷♂️). I think there should be a specific setting value that should be intended to disable trailing spaces. Although I am not sure what else the plugin still does when the trailing-spaces visualization is not enabled. |
Duplicate of #65 |
After updating Sublime, the plugin's highlighting feature no longer work.
The text was updated successfully, but these errors were encountered: