diff options
| author | nyamatongwe <devnull@localhost> | 2010-03-17 23:45:05 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-03-17 23:45:05 +0000 |
| commit | 5489c66825c7cb538254cd2a701466962300c595 (patch) | |
| tree | 0fa4223356cb60f089b4d4c684c343e20a3b1b68 | |
| parent | d88b14af066391e65948299ac46f2977ec2a7a45 (diff) | |
| download | scintilla-mirror-5489c66825c7cb538254cd2a701466962300c595.tar.gz | |
Fix for bug #2971618 Middle-click paste inserts text beyond end of line.
| -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 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); |
