aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-04-11 01:01:53 +0000
committernyamatongwe <unknown>2005-04-11 01:01:53 +0000
commit95707c7d4974c78cfd0e8e6e9803a9a44715b8f0 (patch)
treefdd844b55708f467c2b6bce28e6163519f093c85 /win32
parent35f9e91489cb858fd78aa7e04db88b3eda46d4f4 (diff)
downloadscintilla-mirror-95707c7d4974c78cfd0e8e6e9803a9a44715b8f0.tar.gz
Problem fixed when performing paste over rectangular selection where
selection dragged from top right to bottom left.
Diffstat (limited to 'win32')
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
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