From abb64652a810c65daaa0f49bb9ac12092c258d9a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Apr 2005 01:01:53 +0000 Subject: Problem fixed when performing paste over rectangular selection where selection dragged from top right to bottom left. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 0900e7a21..fe4e70fc7 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1163,8 +1163,8 @@ void ScintillaWin::Paste() { if (!::OpenClipboard(MainHWND())) return; pdoc->BeginUndoAction(); - int selStart = SelectionStart(); ClearSelection(); + int selStart = SelectionStart(); bool isRectangular = ::IsClipboardFormatAvailable(cfColumnSelect) != 0; // Always use CF_UNICODETEXT if available -- cgit v1.2.3