aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/ScintillaGTK.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-04-11 06:27:46 +0000
committernyamatongwe <unknown>2010-04-11 06:27:46 +0000
commit1c84a06dd40e58e39132c586ae6e4e1f8dea8f74 (patch)
treee44f5cabd940bb8c2fcf7f214b72171b931451fb /gtk/ScintillaGTK.cxx
parent6331a1addc69be5f22a09f9f23f09a840cf6560c (diff)
downloadscintilla-mirror-1c84a06dd40e58e39132c586ae6e4e1f8dea8f74.tar.gz
Fixed bug 2984460 Middle-click paste is broken in block select mode
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
-rw-r--r--gtk/ScintillaGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index a0f55fd2b..45ab04e80 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1612,6 +1612,7 @@ gint ScintillaGTK::PressThis(GdkEventButton *event) {
if (OwnPrimarySelection() && primary.s == NULL)
CopySelectionRange(&primary);
+ sel.Clear();
SetSelection(pos, pos);
atomSought = atomUTF8;
gtk_selection_convert(GTK_WIDGET(PWidget(wMain)), GDK_SELECTION_PRIMARY,