summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2002-10-24 20:03:29 (GMT)
committerJust van Rossum <just@letterror.com>2002-10-24 20:03:29 (GMT)
commit7b0255153f2402d9853b29cc7bd4ea1dce14a997 (patch)
tree5fa458f2988dfa544bb5ab71e5356ca8fa5d95da /Mac/Tools
parent79713fd9c6622f57a084e27ac5870f936b6a22cc (diff)
downloadcpython-7b0255153f2402d9853b29cc7bd4ea1dce14a997.zip
cpython-7b0255153f2402d9853b29cc7bd4ea1dce14a997.tar.gz
cpython-7b0255153f2402d9853b29cc7bd4ea1dce14a997.tar.bz2
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
Diffstat (limited to 'Mac/Tools')
-rw-r--r--Mac/Tools/IDE/PyEdit.py6
1 files changed, 1 insertions, 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):