]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport of 1.25:
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 25 Oct 2002 20:37:43 +0000 (20:37 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 25 Oct 2002 20:37:43 +0000 (20:37 +0000)
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.

Mac/Tools/IDE/PyEdit.py

index fcbdc0902e2bf61b4a06e27945bccfed89a021fd..d0f3fd6ac29415b3c2a050e0933a9dbb0d04ae55 100644 (file)
@@ -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):