From dfbc95b7c6048b2f34d9f823c75257a940638bb7 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 4 Nov 2003 09:54:05 +0000 Subject: SCI_SETWORDCHARS performs SCI_SETCHARSDEFAULT before setting word characters. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(lParam), Document::ccWord); -- cgit v1.2.3