[Python-checkins] python/dist/src/Mac/Tools/IDE PyEdit.py,1.32,1.33

jvr@users.sourceforge.net jvr@users.sourceforge.net
Thu, 24 Oct 2002 13:03:38 -0700


Update of /cvsroot/python/python/dist/src/Mac/Tools/IDE
In directory usw-pr-cvs1:/tmp/cvs-serv1377

Modified Files:
	PyEdit.py 
Log Message:
'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.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** PyEdit.py	12 Jul 2002 12:06:17 -0000	1.32
--- PyEdit.py	24 Oct 2002 20:03:29 -0000	1.33
***************
*** 1030,1038 ****
  			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)
  	
--- 1030,1034 ----
  			editor.textchanged()
  			editor.selectionchanged()
! 			editor.set(Text)
  			EasyDialogs.Message("Replaced %d occurrences" % counter)