diff options
author | nyamatongwe <unknown> | 2000-10-03 13:09:51 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-10-03 13:09:51 +0000 |
commit | 4b38936d74cd174fc7c0895e26cc73729bbcd808 (patch) | |
tree | aa22e888bb84d884bfb79a8e0aa56d5bacabc3f7 /src/Editor.cxx | |
parent | f2eec7a2f49ce7b7dda18f92d0026cecf2a033d1 (diff) | |
download | scintilla-mirror-4b38936d74cd174fc7c0895e26cc73729bbcd808.tar.gz |
Mouse down captures now optional.
Save and restore of assertion destination in paint.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 360e991e9..74c0b06ac 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -45,7 +45,8 @@ Editor::Editor() { hideSelection = false; inOverstrike = false; errorStatus = 0; - + mouseDownCaptures = true; + bufferedDraw = true; lastClickTime = 0; @@ -4292,6 +4293,12 @@ long Editor::WndProc(unsigned int iMessage, unsigned long wParam, long lParam) { case SCI_GETSTATUS: return errorStatus; + case SCI_SETMOUSEDOWNCAPTURES: + mouseDownCaptures = wParam; + + case SCI_GETMOUSEDOWNCAPTURES: + return mouseDownCaptures; + #ifdef MACRO_SUPPORT case SCI_STARTRECORD: recordingMacro = 1; |