Changed the keyboard shortcut to toggle comments to Ctrl+#. eric7

Tue, 19 Oct 2021 19:55:21 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 19 Oct 2021 19:55:21 +0200
branch
eric7
changeset 8701
9a7ef33a4534
parent 8700
112271b4a2eb
child 8702
131ef7267fd4

Changed the keyboard shortcut to toggle comments to Ctrl+#.

eric7/QScintilla/MiniEditor.py file | annotate | diff | comparison | revisions
eric7/QScintilla/ShellWindow.py file | annotate | diff | comparison | revisions
eric7/ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/eric7/QScintilla/MiniEditor.py	Mon Oct 18 16:45:05 2021 +0200
+++ b/eric7/QScintilla/MiniEditor.py	Tue Oct 19 19:55:21 2021 +0200
@@ -2350,9 +2350,7 @@
             QCoreApplication.translate('ViewManager', 'Zoom'),
             UI.PixmapCache.getIcon("zoomTo"),
             QCoreApplication.translate('ViewManager', '&Zoom'),
-            QKeySequence(QCoreApplication.translate(
-                'ViewManager', "Ctrl+#", "View|Zoom")),
-            0,
+            0, 0,
             self, 'vm_view_zoom')
         self.zoomToAct.setStatusTip(QCoreApplication.translate(
             'ViewManager', 'Zoom the text'))
--- a/eric7/QScintilla/ShellWindow.py	Mon Oct 18 16:45:05 2021 +0200
+++ b/eric7/QScintilla/ShellWindow.py	Tue Oct 19 19:55:21 2021 +0200
@@ -907,9 +907,7 @@
             QCoreApplication.translate('ViewManager', 'Zoom'),
             UI.PixmapCache.getIcon("zoomTo"),
             QCoreApplication.translate('ViewManager', '&Zoom'),
-            QKeySequence(QCoreApplication.translate(
-                'ViewManager', "Ctrl+#", "View|Zoom")),
-            0,
+            0, 0,
             self.viewActGrp, 'vm_view_zoom')
         self.zoomToAct.setStatusTip(QCoreApplication.translate(
             'ViewManager', 'Zoom the text'))
--- a/eric7/ViewManager/ViewManager.py	Mon Oct 18 16:45:05 2021 +0200
+++ b/eric7/ViewManager/ViewManager.py	Tue Oct 19 19:55:21 2021 +0200
@@ -1120,7 +1120,7 @@
             UI.PixmapCache.getIcon("editUncomment"),
             QCoreApplication.translate('ViewManager', 'Unco&mment'),
             QKeySequence(QCoreApplication.translate(
-                'ViewManager', "Alt+Ctrl+M", "Edit|Uncomment")),
+                'ViewManager', "Ctrl+Shift+M", "Edit|Uncomment")),
             0,
             self.editActGrp, 'vm_edit_uncomment')
         self.uncommentAct.setStatusTip(QCoreApplication.translate(
@@ -1139,7 +1139,7 @@
             UI.PixmapCache.getIcon("editToggleComment"),
             QCoreApplication.translate('ViewManager', 'Toggle Comment'),
             QKeySequence(QCoreApplication.translate(
-                'ViewManager', "Ctrl+Shift+M", "Edit|Toggle Comment")),
+                'ViewManager', "Ctrl+#", "Edit|Toggle Comment")),
             0,
             self.editActGrp, 'vm_edit_toggle_comment')
         self.toggleCommentAct.setStatusTip(QCoreApplication.translate(
@@ -3401,9 +3401,7 @@
             QCoreApplication.translate('ViewManager', 'Zoom'),
             UI.PixmapCache.getIcon("zoomTo"),
             QCoreApplication.translate('ViewManager', '&Zoom'),
-            QKeySequence(QCoreApplication.translate(
-                'ViewManager', "Ctrl+#", "View|Zoom")),
-            0,
+            0, 0,
             self.viewActGrp, 'vm_view_zoom')
         self.zoomToAct.setStatusTip(QCoreApplication.translate(
             'ViewManager', 'Zoom the text'))

eric ide

mercurial