[Python-checkins] r74698 - python/branches/tk_and_idle_maintenance/Lib/idlelib/IOBinding.py

guilherme.polo python-checkins at python.org
Sun Sep 6 23:54:53 CEST 2009


Author: guilherme.polo
Date: Sun Sep 6 23:54:53 2009
New Revision: 74698
Log:
text.see is unecessary here and actually shows the second line (instead of the first one) when opening files larger than one page with newer Tk versions.
Modified:
 python/branches/tk_and_idle_maintenance/Lib/idlelib/IOBinding.py
Modified: python/branches/tk_and_idle_maintenance/Lib/idlelib/IOBinding.py
==============================================================================
--- python/branches/tk_and_idle_maintenance/Lib/idlelib/IOBinding.py	(original)
+++ python/branches/tk_and_idle_maintenance/Lib/idlelib/IOBinding.py	Sun Sep 6 23:54:53 2009
@@ -272,7 +272,6 @@
 self.reset_undo()
 self.set_filename(filename)
 self.text.mark_set("insert", "1.0")
- self.text.see("insert")
 self.updaterecentfileslist(filename)
 return True
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /