880 #################################################################### |
880 #################################################################### |
881 ## Below follow the actions for QScintilla standard commands. |
881 ## Below follow the actions for QScintilla standard commands. |
882 #################################################################### |
882 #################################################################### |
883 |
883 |
884 self.esm = QSignalMapper(self) |
884 self.esm = QSignalMapper(self) |
885 try: |
885 self.esm.mappedInt.connect(self.__textEdit.editorCommand) |
886 self.esm.mappedInt.connect(self.__textEdit.editorCommand) |
|
887 except AttributeError: |
|
888 # pre Qt 5.15 |
|
889 self.esm.mapped[int].connect(self.__textEdit.editorCommand) |
|
890 |
886 |
891 self.editorActGrp = createActionGroup(self) |
887 self.editorActGrp = createActionGroup(self) |
892 |
888 |
893 act = EricAction( |
889 act = EricAction( |
894 QCoreApplication.translate("ViewManager", "Move left one character"), |
890 QCoreApplication.translate("ViewManager", "Move left one character"), |