diff options
author | nyamatongwe <devnull@localhost> | 2003-11-04 09:54:05 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-11-04 09:54:05 +0000 |
commit | dfbc95b7c6048b2f34d9f823c75257a940638bb7 (patch) | |
tree | 4f3ff7752ae694c2ba6162d0f87d229a160b8a9c /src | |
parent | 32b9baebfc4db45f5445ca29a03d3bd4e7f67eb2 (diff) | |
download | scintilla-mirror-dfbc95b7c6048b2f34d9f823c75257a940638bb7.tar.gz |
SCI_SETWORDCHARS performs SCI_SETCHARSDEFAULT before setting
word characters.
Diffstat (limited to 'src')
-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); |