From bdf580f771b496bd512983f345cf4a8db55e42e0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 3 Oct 2000 13:09:51 +0000 Subject: Mouse down captures now optional. Save and restore of assertion destination in paint. --- src/Editor.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Editor.cxx') 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; -- cgit v1.2.3