src/eric7/QScintilla/MiniEditor.py

branch
eric7
changeset 9576
be9f8e7e42e0
parent 9573
9960d19d66b5
child 9612
93b496cc3c88
diff -r 635b6c5a36e1 -r be9f8e7e42e0 src/eric7/QScintilla/MiniEditor.py
--- a/src/eric7/QScintilla/MiniEditor.py	Tue Dec 06 16:57:54 2022 +0100
+++ b/src/eric7/QScintilla/MiniEditor.py	Tue Dec 06 17:35:41 2022 +0100
@@ -621,9 +621,7 @@
         )
         self.newAct.setStatusTip(self.tr("Open an empty editor window"))
         self.newAct.setWhatsThis(
-            self.tr(
-                """<b>New</b><p>An empty editor window will be created.</p>"""
-            )
+            self.tr("""<b>New</b><p>An empty editor window will be created.</p>""")
         )
         self.newAct.triggered.connect(self.__newFile)
         self.fileActions.append(self.newAct)
@@ -873,9 +871,7 @@
         )
         self.deleteAct.setStatusTip(self.tr("Clear all text"))
         self.deleteAct.setWhatsThis(
-            self.tr(
-                """<b>Clear</b><p>Delete all text of the current editor.</p>"""
-            )
+            self.tr("""<b>Clear</b><p>Delete all text of the current editor.</p>""")
         )
         self.deleteAct.triggered.connect(self.__textEdit.clear)
         self.editActions.append(self.deleteAct)
@@ -1405,11 +1401,11 @@
         act = EricAction(
             QCoreApplication.translate(
                 "ViewManager",
-                "Extend selection to first visible character in document" " line",
+                "Extend selection to first visible character in document line",
             ),
             QCoreApplication.translate(
                 "ViewManager",
-                "Extend selection to first visible character in document" " line",
+                "Extend selection to first visible character in document line",
             ),
             0,
             0,
@@ -2329,11 +2325,11 @@
             act = EricAction(
                 QCoreApplication.translate(
                     "ViewManager",
-                    "Move to first visible character in display" " or document line",
+                    "Move to first visible character in display or document line",
                 ),
                 QCoreApplication.translate(
                     "ViewManager",
-                    "Move to first visible character in display" " or document line",
+                    "Move to first visible character in display or document line",
                 ),
                 0,
                 0,
@@ -3319,7 +3315,7 @@
                 self,
                 self.tr("Save File"),
                 self.tr(
-                    "<p>The file <b>{0}</b> could not be saved.<br/>" "Reason: {1}</p>"
+                    "<p>The file <b>{0}</b> could not be saved.<br/>Reason: {1}</p>"
                 ).format(fileName, str(why)),
             )
             return False

eric ide

mercurial