--- a/eric7/QScintilla/MiniEditor.py Sat Oct 23 09:16:10 2021 +0200 +++ b/eric7/QScintilla/MiniEditor.py Sat Oct 23 12:19:47 2021 +0200 @@ -70,6 +70,8 @@ """ super().__init__(parent) + self.enableMultiCursorSupport() + self.mw = parent def getFileName(self): @@ -152,6 +154,16 @@ elif event.button() == Qt.MouseButton.XButton2: self.redo() event.accept() + elif ( + event.button() == Qt.MouseButton.LeftButton and + bool(event.modifiers() & ( + Qt.KeyboardModifier.MetaModifier | + Qt.KeyboardModifier.AltModifier + )) + ): + line, index = self.lineIndexFromPoint(event.pos()) + self.addCursor(line, index) + event.accept() else: super().mousePressEvent(event)