QScintilla/SearchReplaceWidget.py

changeset 3020
542e97d4ecb3
parent 3017
6a8cb7632448
child 3030
4a0a82ddd9d2
--- a/QScintilla/SearchReplaceWidget.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/QScintilla/SearchReplaceWidget.py	Mon Oct 14 19:30:36 2013 +0200
@@ -241,7 +241,8 @@
                 self.ui.replaceButton.setEnabled(True)
                 self.ui.replaceSearchButton.setEnabled(True)
         else:
-            E5MessageBox.information(self, self.windowTitle(),
+            E5MessageBox.information(
+                self, self.windowTitle(),
                 self.trUtf8("'{0}' was not found.").format(txt))
 
     @pyqtSlot()
@@ -277,7 +278,8 @@
                 self.ui.replaceButton.setEnabled(True)
                 self.ui.replaceSearchButton.setEnabled(True)
         else:
-            E5MessageBox.information(self, self.windowTitle(),
+            E5MessageBox.information(
+                self, self.windowTitle(),
                 self.trUtf8("'{0}' was not found.").format(txt))
     
     def __findByReturnPressed(self):
@@ -626,8 +628,9 @@
             if not ok:
                 self.ui.replaceButton.setEnabled(False)
                 self.ui.replaceSearchButton.setEnabled(False)
-                E5MessageBox.information(self, self.windowTitle(),
-                self.trUtf8("'{0}' was not found.").format(ftxt))
+                E5MessageBox.information(
+                    self, self.windowTitle(),
+                    self.trUtf8("'{0}' was not found.").format(ftxt))
         else:
             self.ui.replaceButton.setEnabled(False)
             self.ui.replaceSearchButton.setEnabled(False)
@@ -744,11 +747,13 @@
         self.ui.replaceSearchButton.setEnabled(False)
         
         if found:
-            E5MessageBox.information(self, self.windowTitle(),
+            E5MessageBox.information(
+                self, self.windowTitle(),
                 self.trUtf8("Replaced {0} occurrences.")
                     .format(replacements))
         else:
-            E5MessageBox.information(self, self.windowTitle(),
+            E5MessageBox.information(
+                self, self.windowTitle(),
                 self.trUtf8("Nothing replaced because '{0}' was not found.")
                     .format(ftxt))
         

eric ide

mercurial