src/eric7/QScintilla/MiniEditor.py

branch
eric7
changeset 10069
435cc5875135
parent 10050
3750abc45d5e
child 10180
3a595df36c9a
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
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"),

eric ide

mercurial