diff options
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; |