Shell.py eric7

Mon, 19 Sep 2022 10:13:15 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 19 Sep 2022 10:13:15 +0200
branch
eric7
changeset 9332
2e0a16d95083
parent 9331
1f8780a59a0d
child 9333
b0541ec21e51

Shell.py
- sorted the list of supported editor commands

src/eric7/QScintilla/Shell.py file | annotate | diff | comparison | revisions
--- a/src/eric7/QScintilla/Shell.py	Mon Sep 19 09:41:35 2022 +0200
+++ b/src/eric7/QScintilla/Shell.py	Mon Sep 19 10:13:15 2022 +0200
@@ -351,34 +351,34 @@
         self.incrementalSearchActive = False
 
         self.supportedEditorCommands = {
-            QsciScintilla.SCI_LINEDELETE: self.__clearCurrentLine,
-            QsciScintilla.SCI_TAB: self.__QScintillaTab,
-            QsciScintilla.SCI_NEWLINE: self.__QScintillaNewline,
+            QsciScintilla.SCI_CANCEL: self.__QScintillaCancel,
+            QsciScintilla.SCI_CHARLEFT: self.__QScintillaCharLeft,
+            QsciScintilla.SCI_CHARLEFTEXTEND: self.__QScintillaCharLeftExtend,
+            QsciScintilla.SCI_CHARRIGHT: self.__QScintillaCharRight,
+            QsciScintilla.SCI_CHARRIGHTEXTEND: self.extendSelectionRight,
+            QsciScintilla.SCI_CLEAR: self.__QScintillaDelete,
             QsciScintilla.SCI_DELETEBACK: self.__QScintillaDeleteBack,
-            QsciScintilla.SCI_CLEAR: self.__QScintillaDelete,
-            QsciScintilla.SCI_DELWORDLEFT: self.__QScintillaDeleteWordLeft,
-            QsciScintilla.SCI_DELWORDRIGHT: self.__QScintillaDeleteWordRight,
             QsciScintilla.SCI_DELLINELEFT: self.__QScintillaDeleteLineLeft,
             QsciScintilla.SCI_DELLINERIGHT: self.__QScintillaDeleteLineRight,
-            QsciScintilla.SCI_CHARLEFT: self.__QScintillaCharLeft,
-            QsciScintilla.SCI_CHARRIGHT: self.__QScintillaCharRight,
-            QsciScintilla.SCI_WORDLEFT: self.__QScintillaWordLeft,
-            QsciScintilla.SCI_WORDRIGHT: self.__QScintillaWordRight,
-            QsciScintilla.SCI_VCHOME: self.__QScintillaVCHome,
+            QsciScintilla.SCI_DELWORDLEFT: self.__QScintillaDeleteWordLeft,
+            QsciScintilla.SCI_DELWORDRIGHT: self.__QScintillaDeleteWordRight,
+            QsciScintilla.SCI_LINEDELETE: self.__clearCurrentLine,
+            QsciScintilla.SCI_LINEDOWN: self.__QScintillaCursorCommand,
             QsciScintilla.SCI_LINEEND: self.__QScintillaLineEnd,
-            QsciScintilla.SCI_LINEUP: self.__QScintillaCursorCommand,
-            QsciScintilla.SCI_LINEDOWN: self.__QScintillaCursorCommand,
-            QsciScintilla.SCI_LINESCROLLUP: self.__QScintillaCursorCommand,
+            QsciScintilla.SCI_LINEENDEXTEND: self.extendSelectionToEOL,
             QsciScintilla.SCI_LINESCROLLDOWN: self.__QScintillaCursorCommand,
-            QsciScintilla.SCI_PAGEUP: self.__QScintillaAutoCompletionCommand,
+            QsciScintilla.SCI_LINESCROLLUP: self.__QScintillaCursorCommand,
+            QsciScintilla.SCI_LINEUP: self.__QScintillaCursorCommand,
+            QsciScintilla.SCI_NEWLINE: self.__QScintillaNewline,
             QsciScintilla.SCI_PAGEDOWN: self.__QScintillaAutoCompletionCommand,
-            QsciScintilla.SCI_CHARLEFTEXTEND: self.__QScintillaCharLeftExtend,
-            QsciScintilla.SCI_CHARRIGHTEXTEND: self.extendSelectionRight,
+            QsciScintilla.SCI_PAGEUP: self.__QScintillaAutoCompletionCommand,
+            QsciScintilla.SCI_TAB: self.__QScintillaTab,
+            QsciScintilla.SCI_VCHOME: self.__QScintillaVCHome,
+            QsciScintilla.SCI_VCHOMEEXTEND: self.__QScintillaVCHomeExtend,
+            QsciScintilla.SCI_WORDLEFT: self.__QScintillaWordLeft,
             QsciScintilla.SCI_WORDLEFTEXTEND: self.__QScintillaWordLeftExtend,
+            QsciScintilla.SCI_WORDRIGHT: self.__QScintillaWordRight,
             QsciScintilla.SCI_WORDRIGHTEXTEND: self.extendSelectionWordRight,
-            QsciScintilla.SCI_VCHOMEEXTEND: self.__QScintillaVCHomeExtend,
-            QsciScintilla.SCI_LINEENDEXTEND: self.extendSelectionToEOL,
-            QsciScintilla.SCI_CANCEL: self.__QScintillaCancel,
         }
 
         self.__historyNavigateByCursor = Preferences.getShell("HistoryNavigateByCursor")

eric ide

mercurial