1444 #################################################################### |
1444 #################################################################### |
1445 ## Below follow the actions for QScintilla standard commands. |
1445 ## Below follow the actions for QScintilla standard commands. |
1446 #################################################################### |
1446 #################################################################### |
1447 |
1447 |
1448 self.esm = QSignalMapper(self) |
1448 self.esm = QSignalMapper(self) |
1449 self.esm.mapped[int].connect(self.__editorCommand) |
1449 try: |
|
1450 self.alignMapper.mappedInt.connect(self.__editorCommand) |
|
1451 except AttributeError: |
|
1452 # pre Qt 5.15 |
|
1453 self.esm.mapped[int].connect(self.__editorCommand) |
1450 |
1454 |
1451 self.editorActGrp = createActionGroup(self.editActGrp) |
1455 self.editorActGrp = createActionGroup(self.editActGrp) |
1452 |
1456 |
1453 act = E5Action( |
1457 act = E5Action( |
1454 QCoreApplication.translate('ViewManager', |
1458 QCoreApplication.translate('ViewManager', |