From: Just van Rossum Date: Thu, 24 Oct 2002 20:03:29 +0000 (+0000) Subject: 'Replace all' in the find dialog didn't properly update the text view (it used to... X-Git-Tag: v2.3c1~3689 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b0255153f2402d9853b29cc7bd4ea1dce14a997;p=python 'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed. --- diff --git a/Mac/Tools/IDE/PyEdit.py b/Mac/Tools/IDE/PyEdit.py index ed234d32ca..69266a870c 100644 --- a/Mac/Tools/IDE/PyEdit.py +++ b/Mac/Tools/IDE/PyEdit.py @@ -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):