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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 20 May 2013 11:36:02 +0200
branch
5_3_x
changeset 2667
3e741f0db4da
parent 2656
192f4e0024c2
child 2668
4c5320acf00d

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 13 19:58:28 2013 +0200
+++ b/QScintilla/SearchReplaceWidget.py	Mon May 20 11:36:02 2013 +0200
@@ -307,7 +307,7 @@
                     index = cindex
                 else:
                     line = lineFrom
-                    index = indexFrom - 1
+                    index = indexFrom
             if self.ui.selectionCheckBox.isChecked() and \
                line == self.__selection[0] and \
                index >= 0 and \

eric ide

mercurial