diff options
-rw-r--r-- | doc/ScintillaHistory.html | 4 | ||||
-rwxr-xr-x | gtk/ScintillaGTK.cxx | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 09b7796a1..dc3a0278e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -596,6 +596,10 @@ Update to Unicode 15.1. <a href="https://github.com/ScintillaOrg/lexilla/issues/285">Issue #285</a>. </li> + <li> + On GTK, allow middle click to insert multiple times within a document. + <a href="https://github.com/geany/geany/issues/2629">Geany Issue #2629</a>. + </li> </ul> <h3> <a href="https://www.scintilla.org/scintilla553.zip">Release 5.5.3</a> diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index b40b6547d..38e0d0376 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -1502,8 +1502,8 @@ void ScintillaGTK::PrimaryClearSelection(GtkClipboard *clip, gpointer pSci) { void ScintillaGTK::ClaimSelection() { // X Windows has a 'primary selection' as well as the clipboard. // Whenever the user selects some text, we become the primary selection - ClearPrimarySelection(); if (!sel.Empty()) { + ClearPrimarySelection(); if (gtk_clipboard_set_with_data( gtk_clipboard_get(GDK_SELECTION_PRIMARY), clipboardCopyTargets, nClipboardCopyTargets, |