diff options
author | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-05-15 14:19:52 +0000 |
commit | 02e0afd5a9d78f997df5e498550e5b2832ca5aa0 (patch) | |
tree | b5e3048d8416aefd2a461149fbb755f71fc49f39 /src/Editor.cxx | |
parent | e149d7bf98c013bad08a5c7aeb0e652e83042ce2 (diff) | |
download | scintilla-mirror-02e0afd5a9d78f997df5e498550e5b2832ca5aa0.tar.gz |
Support for different character sets for each style.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 37400f9ba..ad8bab8c5 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3591,12 +3591,18 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { vs.styles[wParam].underline = lParam; InvalidateStyleRedraw(); } + break; + case SCI_STYLESETCHARACTERSET: + if (wParam <= STYLE_MAX) { + vs.styles[wParam].characterSet = lParam; + InvalidateStyleRedraw(); + } + break; case SCI_STYLERESETDEFAULT: vs.ResetDefaultStyle(); InvalidateStyleRedraw(); break; - case SCI_SETSTYLEBITS: pdoc->SetStylingBits(wParam); break; @@ -3883,6 +3889,14 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) { SetDocPointer(reinterpret_cast<Document *>(lParam)); return 0; + case SCI_ADDREFDOC: + (reinterpret_cast<Document *>(lParam))->AddRef(); + break; + + case SCI_RELEASEDOC: + (reinterpret_cast<Document *>(lParam))->Release(); + break; + case SCI_SETMODEVENTMASK: modEventMask = wParam; return 0; |