Highlighting is provided by the editing widget from the Scintilla project. If possible check if the issue is present in the Scite editor which is that projects test editor, then you should report the problem [there](https://sourceforge.net/p/scintilla/bugs/)