QScintilla/SearchReplaceWidget.py

changeset 4830
f609a22f43bd
parent 4757
866050e987de
child 5389
9b1c800daff3
--- a/QScintilla/SearchReplaceWidget.py	Thu Mar 10 19:50:10 2016 +0100
+++ b/QScintilla/SearchReplaceWidget.py	Thu Mar 10 20:19:33 2016 +0100
@@ -55,7 +55,7 @@
             self.replaceHistory = vm.getSRHistory('replace')
             self.ui = Ui_ReplaceWidget()
             whatsThis = self.tr(
-r"""<b>Find and Replace</b>
+                r"""<b>Find and Replace</b>
 <p>This dialog is used to find some text and replace it with another text.
 By checking the various checkboxes, the search can be made more specific.
 The search string might be a regular expression. In a regular expression,
@@ -66,7 +66,7 @@
             from .Ui_SearchWidget import Ui_SearchWidget
             self.ui = Ui_SearchWidget()
             whatsThis = self.tr(
-r"""<b>Find</b>
+                r"""<b>Find</b>
 <p>This dialog is used to find some text. By checking the various checkboxes,
 the search can be made more specific. The search string might be a regular
 expression. In a regular expression, special characters interpreted are:</p>
@@ -77,7 +77,7 @@
             self.ui.wrapCheckBox.setChecked(True)
         
         whatsThis += self.tr(
-r"""<table border="0">
+            r"""<table border="0">
 <tr><td><code>.</code></td><td>Matches any character</td></tr>
 <tr><td><code>\(</code></td><td>This marks the start of a region for tagging a
 match.</td></tr>
@@ -526,8 +526,8 @@
                               indexFrom >= boundary[1]) or \
                                 (lineFrom > boundary[0] and
                                  lineFrom < boundary[2]) or \
-                                (lineFrom == boundary[2]
-                                 and indexFrom <= boundary[3]):
+                                (lineFrom == boundary[2] and
+                                 indexFrom <= boundary[3]):
                             ok = True
                         else:
                             ok = False

eric ide

mercurial