Fixed a bug causing an incorrect bachwards search if the search patterns are directly netx to each other.

Mon, 20 May 2013 11:36:02 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 May 2013 11:36:02 +0200
changeset 2663
37b3ec77f2c4
parent 2662
d28382a4b88a
child 2664
56add695787e

Fixed a bug causing an incorrect bachwards search if the search patterns are directly netx to each other.

QScintilla/SearchReplaceWidget.py file | annotate | diff | comparison | revisions
--- a/QScintilla/SearchReplaceWidget.py	Mon May 20 11:35:15 2013 +0200
+++ b/QScintilla/SearchReplaceWidget.py	Mon May 20 11:36:02 2013 +0200
@@ -347,7 +347,7 @@
                     index = cindex
                 else:
                     line = lineFrom
-                    index = indexFrom - 1
+                    index = indexFrom
             if self.ui.selectionCheckBox.isChecked() and \
                line == boundary[0] and \
                index >= 0 and \

eric ide

mercurial