Commit 3a836877 authored by Just van Rossum's avatar Just van Rossum

'Replace all' in the find dialog didn't properly update the text view (it used...

'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
parent 27cdf758
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment