From 08bc46ddfa117777676d21f726e3258855ba0241 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Fri, 20 Nov 2015 17:40:50 +0100 Subject: [PATCH] Fix user defined keywords no effect in Javascript. Fixes #1152 --- PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp | 1 + 1 file changed, 1 insertion(+) 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) {