diff --git a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp index 26ad3901d..b85da9582 100644 --- a/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp @@ -877,6 +877,7 @@ void ScintillaEditView::setJsLexer() execute(SCI_SETLEXER, SCLEX_CPP); const TCHAR *pKwArray[10] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; + makeStyle(L_JAVASCRIPT, pKwArray); if (doxygenKeyWords) {