QScintilla/MiniEditor.py

changeset 3039
8dd0165d805d
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3067
8fd7ae10de2b
--- a/QScintilla/MiniEditor.py	Sat Oct 19 16:51:12 2013 +0200
+++ b/QScintilla/MiniEditor.py	Sat Oct 19 17:42:18 2013 +0200
@@ -1308,9 +1308,9 @@
         
         act = E5Action(
             QApplication.translate('ViewManager', 'Formfeed'),
-                  QApplication.translate('ViewManager', 'Formfeed'),
-                  0, 0,
-                  self.editorActGrp, 'vm_edit_formfeed')
+            QApplication.translate('ViewManager', 'Formfeed'),
+            0, 0,
+            self.editorActGrp, 'vm_edit_formfeed')
         self.esm.setMapping(act, QsciScintilla.SCI_FORMFEED)
         act.triggered[()].connect(self.esm.map)
         self.editActions.append(act)
@@ -1989,13 +1989,13 @@
             0, self, 'help_help_whats_this')
         self.whatsThisAct.setStatusTip(self.trUtf8('Context sensitive help'))
         self.whatsThisAct.setWhatsThis(self.trUtf8(
-                """<b>Display context sensitive help</b>"""
-                """<p>In What's This? mode, the mouse cursor shows an arrow"""
-                """ with a question mark, and you can click on the interface"""
-                """ elements to get a short description of what they do and"""
-                """ how to use them. In dialogs, this feature can be"""
-                """ accessed using the context help button in the titlebar."""
-                """</p>"""
+            """<b>Display context sensitive help</b>"""
+            """<p>In What's This? mode, the mouse cursor shows an arrow"""
+            """ with a question mark, and you can click on the interface"""
+            """ elements to get a short description of what they do and"""
+            """ how to use them. In dialogs, this feature can be"""
+            """ accessed using the context help button in the titlebar."""
+            """</p>"""
         ))
         self.whatsThisAct.triggered[()].connect(self.__whatsThis)
         self.helpActions.append(self.whatsThisAct)
@@ -2157,7 +2157,7 @@
                 self, self.trUtf8('Open File'),
                 self.trUtf8('<p>The file <b>{0}</b> could not be opened.</p>'
                             '<p>Reason: {1}</p>')
-                    .format(fileName, str(why)))
+                .format(fileName, str(why)))
             QApplication.restoreOverrideCursor()
             return
         
@@ -2192,7 +2192,7 @@
                 self, self.trUtf8('Save File'),
                 self.trUtf8('<p>The file <b>{0}</b> could not be saved.<br/>'
                             'Reason: {1}</p>')
-                    .format(fileName, str(why)))
+                .format(fileName, str(why)))
             QApplication.restoreOverrideCursor()
         
             self.__checkActions()
@@ -2795,7 +2795,7 @@
             line0 = self.__textEdit.text(0)
             if line0.startswith("#!") and \
                ("python2" in line0 or
-                ("python" in line0 and not "python3" in line0)):
+                    ("python" in line0 and not "python3" in line0)):
                 return True
             
             if self.__curFile is not None:

eric ide

mercurial