summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
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):