diff options
author | nyamatongwe <unknown> | 2003-11-04 09:54:05 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-11-04 09:54:05 +0000 |
commit | 64d3436f177dcc2cebf9cb1a0ad35639678ce07b (patch) | |
tree | 4f3ff7752ae694c2ba6162d0f87d229a160b8a9c | |
parent | fa167e2005a18dac2bfc7f916b43ac6b772a4820 (diff) | |
download | scintilla-mirror-64d3436f177dcc2cebf9cb1a0ad35639678ce07b.tar.gz |
SCI_SETWORDCHARS performs SCI_SETCHARSDEFAULT before setting
word characters.
-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); |