This issue is related to issue #7389 ... if you do the following ...
1. Open a Query Window and type "select * from mytable"
2. Disable File->Options->SQL Editor->Syntax Color->Enabled
3. Click OK and see that the current window is still coloring
4. Open the File->Options and Click OK without changing anythign and see that coloring is now gone
This seems to be caused by the implementation of SQLCustomFontColorSettings, or the editors caching of the tokens.
The coloring is most definitely cached. Will probably need to add an API in EditorPreferences to allow you to force a reload of the FontColorSettings after syntax coloring is toggled.
A new API was added: EditorPreferences.reloadFontColorSettings(String mime). You should call this method after toggling the syntax.
A new API was added: EditorPreferences.reloadFontColorSettings(String mime). You should call this method after toggling the syntax.
Issue #7434 |
| Closed |
| Fixed |
| Resolved |
Completion |
| No due date |
| Fixed Build Vincaed 3.0.4.0 |
| No time estimate |
The coloring is most definitely cached. Will probably need to add an API in EditorPreferences to allow you to force a reload of the FontColorSettings after syntax coloring is toggled.