src/eric7/QScintilla/QsciScintillaCompat.py

branch
eric7
changeset 9570
481cc0d3699d
parent 9474
7258d36204be
child 9653
e67609152c5e
--- a/src/eric7/QScintilla/QsciScintillaCompat.py	Tue Dec 06 10:29:10 2022 +0100
+++ b/src/eric7/QScintilla/QsciScintillaCompat.py	Tue Dec 06 11:24:53 2022 +0100
@@ -658,9 +658,12 @@
         """
         Public method to enable support for multi cursor editing.
         """
-        # typing should insert in all selections at the same time
+        # typing and pasting should insert in all selections at the same time
         self.SendScintilla(QsciScintilla.SCI_SETMULTIPLESELECTION, True)
         self.SendScintilla(QsciScintilla.SCI_SETADDITIONALSELECTIONTYPING, True)
+        self.SendScintilla(
+            QsciScintilla.SCI_SETMULTIPASTE, QsciScintilla.SC_MULTIPASTE_EACH
+        )
 
     def setVirtualSpaceOptions(self, options):
         """

eric ide

mercurial