QScintilla/ShellWindow.py

changeset 5712
f0d08bdeacf4
parent 5711
50b6867ffcd3
child 5798
e4f9552f7f93
--- a/QScintilla/ShellWindow.py	Sat Apr 22 15:37:18 2017 +0200
+++ b/QScintilla/ShellWindow.py	Sun Apr 23 16:40:31 2017 +0200
@@ -110,6 +110,7 @@
         self.__writeSettings()
         self.__debugServer.shutdownServer()
         self.__shell.closeShell()
+        Preferences.syncPreferences()
         
         event.accept()
     
@@ -565,6 +566,25 @@
         self.editActions.append(act)
         
         act = E5Action(
+            self.tr('Move forward one history entry'),
+            self.tr('Move forward one history entry'),
+            QKeySequence(QCoreApplication.translate('ViewManager',
+                                                    'Ctrl+Down')),
+            0, self.editorActGrp, 'vm_edit_scroll_down_line')
+        self.esm.setMapping(act, QsciScintilla.SCI_LINESCROLLDOWN)
+        act.triggered.connect(self.esm.map)
+        self.editActions.append(act)
+        
+        act = E5Action(
+            self.tr('Move back one history entry'),
+            self.tr('Move back one history entry'),
+            QKeySequence(QCoreApplication.translate('ViewManager', 'Ctrl+Up')),
+            0, self.editorActGrp, 'vm_edit_scroll_up_line')
+        self.esm.setMapping(act, QsciScintilla.SCI_LINESCROLLUP)
+        act.triggered.connect(self.esm.map)
+        self.editActions.append(act)
+        
+        act = E5Action(
             QCoreApplication.translate('ViewManager', 'Move up one page'),
             QCoreApplication.translate('ViewManager', 'Move up one page'),
             QKeySequence(QCoreApplication.translate('ViewManager', 'PgUp')), 0,

eric ide

mercurial