Sat, 20 Feb 2016 16:09:11 +0100
Fixed a serious bug in the editor search widget causing a traceback in the mini editor.
(grafted from d10db298c9d67f443875f8e4dfa9522dd9c2938a)
QScintilla/SearchReplaceWidget.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/SearchReplaceWidget.py Sat Feb 20 16:10:25 2016 +0100 +++ b/QScintilla/SearchReplaceWidget.py Sat Feb 20 16:09:11 2016 +0100 @@ -351,7 +351,11 @@ if indicate: aw.setSearchIndicator(tgtPos, tgtLen) ok = aw.findNextTarget() - aw.updateMarkerMap() + try: + aw.updateMarkerMap() + except AttributeError: + # MiniEditor doesn't have this, ignore it + pass def __findNextPrev(self, txt, backwards): """