aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-03-17 23:45:05 +0000
committernyamatongwe <unknown>2010-03-17 23:45:05 +0000
commitf8bc766f60c961a918e81dd91c6418bb8c92f41d (patch)
tree0fa4223356cb60f089b4d4c684c343e20a3b1b68
parentab988ef01cea8b446e4121273f704d04e7eee80b (diff)
downloadscintilla-mirror-f8bc766f60c961a918e81dd91c6418bb8c92f41d.tar.gz
Fix for bug #2971618 Middle-click paste inserts text beyond end of line.
-rw-r--r--gtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index fd0862249..1f57258c1 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1850,7 +1850,7 @@ gint ScintillaGTK::PressThis(GdkEventButton *event) {
(event->state & modifierTranslated(rectangularSelectionModifier)) != 0);
} else if (event->button == 2) {
// Grab the primary selection if it exists
- SelectionPosition pos = SPositionFromLocation(pt);
+ SelectionPosition pos = SPositionFromLocation(pt, false, false, UserVirtualSpace());
if (OwnPrimarySelection() && primary.s == NULL)
CopySelectionRange(&primary);