From 6af48e9e6f1ae7fc5333febc951b4ea1342e814c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 11 Apr 2010 06:27:46 +0000 Subject: Fixed bug 2984460 Middle-click paste is broken in block select mode --- gtk/ScintillaGTK.cxx | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3