'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.

This commit is contained in:
Just van Rossum 2002-10-24 20:03:29 +00:00
parent 79713fd9c6
commit 7b0255153f

View file

@ -1029,11 +1029,7 @@ class SearchEngine:
from Carbon import Res
editor.textchanged()
editor.selectionchanged()
editor.ted.WEUseText(Res.Resource(Text))
editor.ted.WECalText()
editor.SetPort()
editor.GetWindow().InvalWindowRect(editor._bounds)
#editor.ted.WEUpdate(self.w.wid.GetWindowPort().visRgn)
editor.set(Text)
EasyDialogs.Message("Replaced %d occurrences" % counter)
def dont(self):