diff options
Diffstat (limited to 'gtk')
| -rw-r--r-- | gtk/ScintillaGTK.cxx | 5 | 
1 files changed, 1 insertions, 4 deletions
| diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index 88e4d8598..fd0862249 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1549,10 +1549,7 @@ void ScintillaGTK::ReceivedSelection(GtkSelectionData *selection_data) {  				if (selText.rectangular) {  					PasteRectangular(selStart, selText.s, selText.len);  				} else { -					selStart = SelectionPosition(InsertSpace(selStart.Position(), selStart.VirtualSpace())); -					if (pdoc->InsertString(selStart.Position(),selText.s, selText.len)) { -						SetEmptySelection(selStart.Position() + selText.len); -					} +					InsertPaste(selStart, selText.s, selText.len);  				}  				EnsureCaretVisible();  			} | 
