Tue, 06 Dec 2022 11:24:53 +0100
Editor
- Added support for multiple cursor paste.
--- a/docs/changelog.md Tue Dec 06 10:29:10 2022 +0100 +++ b/docs/changelog.md Tue Dec 06 11:24:53 2022 +0100 @@ -10,6 +10,7 @@ - Added a configuration option to disable the source navigator (selector boxes above the editor or code outline roght of the editor). This is useful e.g. on very small screens. + - Added support for multiple cursor paste. - Project Viewer - Removed the CORBA and Protobuf viewers to make them available as plugins.
--- a/src/eric7/Preferences/__init__.py Tue Dec 06 10:29:10 2022 +0100 +++ b/src/eric7/Preferences/__init__.py Tue Dec 06 11:24:53 2022 +0100 @@ -437,6 +437,7 @@ "*.pxd", "*.pxi", "*.py3", + "*.pyi", "*.pyw", "*.pyw3", "*.pyx", @@ -472,7 +473,7 @@ "*Pipfile", "*makefile", "*poetry.lock", - ] + ], } iconsDefaults = { @@ -1622,7 +1623,9 @@ "JediFuzzyCompletionsEnabled": False, "JediCalltipsEnabled": True, "MouseClickEnabled": True, - "MouseClickGotoModifiers": Qt.KeyboardModifier.AltModifier, + "MouseClickGotoModifiers": ( + Qt.KeyboardModifier.MetaModifier | Qt.KeyboardModifier.ControlModifier + ), "MouseClickGotoButton": Qt.MouseButton.LeftButton, }
--- 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): """