aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-11-04 09:54:05 +0000
committernyamatongwe <unknown>2003-11-04 09:54:05 +0000
commit64d3436f177dcc2cebf9cb1a0ad35639678ce07b (patch)
tree4f3ff7752ae694c2ba6162d0f87d229a160b8a9c /src
parentfa167e2005a18dac2bfc7f916b43ac6b772a4820 (diff)
downloadscintilla-mirror-64d3436f177dcc2cebf9cb1a0ad35639678ce07b.tar.gz
SCI_SETWORDCHARS performs SCI_SETCHARSDEFAULT before setting
word characters.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx1
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);