From 8b4705143ebc2f3de0737305e58661df74f19972 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 25 Oct 2002 20:37:43 +0000 Subject: [PATCH] Backport of 1.25: 'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed. --- Mac/Tools/IDE/PyEdit.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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): -- 2.47.3