diff options
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 897680833..422237f97 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -5731,6 +5731,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { break; case SCI_SETWORDCHARS: { + pdoc->SetDefaultCharClasses(); if (lParam == 0) return 0; pdoc->SetCharClasses(reinterpret_cast<unsigned char *>(lParam), Document::ccWord); |