349 #################################################################### |
349 #################################################################### |
350 ## Below follow the actions for QScintilla standard commands. |
350 ## Below follow the actions for QScintilla standard commands. |
351 #################################################################### |
351 #################################################################### |
352 |
352 |
353 self.esm = QSignalMapper(self) |
353 self.esm = QSignalMapper(self) |
354 self.esm.mapped[int].connect(self.__shell.editorCommand) |
354 try: |
|
355 self.esm.mappedInt.connect(self.__shell.editorCommand) |
|
356 except AttributeError: |
|
357 # pre Qt 5.15 |
|
358 self.esm.mapped[int].connect(self.__shell.editorCommand) |
355 |
359 |
356 self.editorActGrp = createActionGroup(self) |
360 self.editorActGrp = createActionGroup(self) |
357 |
361 |
358 act = E5Action( |
362 act = E5Action( |
359 QCoreApplication.translate('ViewManager', 'Delete current line'), |
363 QCoreApplication.translate('ViewManager', 'Delete current line'), |