'Replace all' in the find dialog didn't properly update the text view (it used to...
authorJust van Rossum <just@letterror.com>
Thu, 24 Oct 2002 20:03:29 +0000 (20:03 +0000)
committerJust van Rossum <just@letterror.com>
Thu, 24 Oct 2002 20:03:29 +0000 (20:03 +0000)
Mac/Tools/IDE/PyEdit.py

index ed234d32ca39e8bad810f08712b3a37b55304aa9..69266a870c2041bbde581dccb9a319904fdcf1c5 100644 (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):