From 7b0255153f2402d9853b29cc7bd4ea1dce14a997 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Thu, 24 Oct 2002 20:03:29 +0000 Subject: '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 ed234d3..69266a8 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): -- cgit v0.12