diff options
| author | nyamatongwe <unknown> | 2005-04-11 01:01:53 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-04-11 01:01:53 +0000 |
| commit | 95707c7d4974c78cfd0e8e6e9803a9a44715b8f0 (patch) | |
| tree | fdd844b55708f467c2b6bce28e6163519f093c85 /gtk/ScintillaGTK.cxx | |
| parent | 35f9e91489cb858fd78aa7e04db88b3eda46d4f4 (diff) | |
| download | scintilla-mirror-95707c7d4974c78cfd0e8e6e9803a9a44715b8f0.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.cxx | 2 |
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); |
