From: Jack Jansen Date: Fri, 25 Oct 2002 20:37:43 +0000 (+0000) Subject: Backport of 1.25: X-Git-Tag: v2.2.3c1~273 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b4705143ebc2f3de0737305e58661df74f19972;p=thirdparty%2FPython%2Fcpython.git Backport of 1.25: '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 fcbdc0902e2b..d0f3fd6ac294 100644 --- a/Mac/Tools/IDE/PyEdit.py +++ b/Mac/Tools/IDE/PyEdit.py @@ -960,11 +960,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):