Removed obsolete and incorrect code from the view manager. 5_2_x

Sat, 06 Oct 2012 18:49:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Oct 2012 18:49:58 +0200
branch
5_2_x
changeset 2113
91ad478a4ad7
parent 2112
facc3a2d983a
child 2116
5edbd90cf9e6

Removed obsolete and incorrect code from the view manager.
(grafted from eff6b085ea892b4b8c93d86517eee4e371f77427)

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Sat Oct 06 18:48:56 2012 +0200
+++ b/ViewManager/ViewManager.py	Sat Oct 06 18:49:58 2012 +0200
@@ -4594,10 +4594,7 @@
                                 lineFrom, indexFrom, lineTo, indexTo)
         while ok:
             tgtPos, tgtLen = aw.getFoundTarget()
-            try:
-                aw.setSearchIndicator(tgtPos, tgtLen)
-            except AttributeError:
-                self.viewmanager.setSearchIndicator(tgtPos, tgtLen)
+            aw.setSearchIndicator(tgtPos, tgtLen)
             ok = aw.findNextTarget()
         
     def __quickSearchInEditor(self, again, back):

eric ide

mercurial