aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-04-11 06:27:46 +0000
committernyamatongwe <devnull@localhost>2010-04-11 06:27:46 +0000
commit6af48e9e6f1ae7fc5333febc951b4ea1342e814c (patch)
treee44f5cabd940bb8c2fcf7f214b72171b931451fb
parent0f465ec89e4384e2b29fa44af74f37f4caf43e7e (diff)
downloadscintilla-mirror-6af48e9e6f1ae7fc5333febc951b4ea1342e814c.tar.gz
Fixed bug 2984460 Middle-click paste is broken in block select mode
-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,