[Python-checkins] python/dist/src/Mac/Tools/IDE PyEdit.py,1.26.6.1,1.26.6.2
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Fri, 25 Oct 2002 13:37:45 -0700
Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv24942
Modified Files:
Tag: release22-maint
PyEdit.py
Log Message:
Backport of 1.25:
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
Index: PyEdit.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Tools/IDE/PyEdit.py,v
retrieving revision 1.26.6.1
retrieving revision 1.26.6.2
diff -C2 -d -r1.26.6.1 -r1.26.6.2
*** PyEdit.py 24 Feb 2002 23:17:23 -0000 1.26.6.1
--- PyEdit.py 25 Oct 2002 20:37:43 -0000 1.26.6.2
***************
*** 961,969 ****
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)
EasyDialogs.Message("Replaced %d occurrences" % counter)
--- 961,965 ----
editor.textchanged()
editor.selectionchanged()
! editor.set(Text)
EasyDialogs.Message("Replaced %d occurrences" % counter)