Sat, 20 Feb 2016 16:09:11 +0100
Fixed a serious bug in the editor search widget causing a traceback in the mini editor.
QScintilla/SearchReplaceWidget.py | file | annotate | diff | comparison | revisions |
--- a/QScintilla/SearchReplaceWidget.py Fri Feb 19 18:08:11 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): """