aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index cadc6b800..1ab36610b 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5942,7 +5942,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
break;
case SCI_SETWORDCHARS: {
- pdoc->SetDefaultCharClasses();
+ pdoc->SetDefaultCharClasses(false);
if (lParam == 0)
return 0;
pdoc->SetCharClasses(reinterpret_cast<unsigned char *>(lParam), Document::ccWord);
@@ -5957,7 +5957,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
break;
case SCI_SETCHARSDEFAULT:
- pdoc->SetDefaultCharClasses();
+ pdoc->SetDefaultCharClasses(true);
break;
case SCI_GETLENGTH: