aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-04-11 01:01:53 +0000
committernyamatongwe <devnull@localhost>2005-04-11 01:01:53 +0000
commitabb64652a810c65daaa0f49bb9ac12092c258d9a (patch)
treefdd844b55708f467c2b6bce28e6163519f093c85 /gtk/ScintillaGTK.cxx
parent7832e18d9e44143117849b512763aa4b5a52ea4e (diff)
downloadscintilla-mirror-abb64652a810c65daaa0f49bb9ac12092c258d9a.tar.gz
Problem fixed when performing paste over rectangular selection where
selection dragged from top right to bottom left.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r--gtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 17da56f97..2dade05aa 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1458,10 +1458,10 @@ void ScintillaGTK::ReceivedSelection(GtkSelectionData *selection_data) {
GetGtkSelectionText(selection_data, selText);
pdoc->BeginUndoAction();
- int selStart = SelectionStart();
if (selection_data->selection != GDK_SELECTION_PRIMARY) {
ClearSelection();
}
+ int selStart = SelectionStart();
if (selText.rectangular) {
PasteRectangular(selStart, selText.s, selText.len);