[Python-checkins] r65302 - sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py
guilherme.polo
python-checkins at python.org
Wed Jul 30 14:35:33 CEST 2008
Author: guilherme.polo
Date: Wed Jul 30 14:35:33 2008
New Revision: 65302
Log:
Updated to match the current signature of PyShellEditorWindow.store_file_breaks
Modified:
sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py
Modified: sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py (original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py Wed Jul 30 14:35:33 2008
@@ -352,7 +352,7 @@
if self.writefile(self.filename):
self.set_saved(1)
try:
- self.editwin.store_file_breaks()
+ self.editpage.editwin.store_file_breaks(self.editpage)
except AttributeError: # may be a PyShell
pass
self.text.focus_set()
@@ -365,8 +365,7 @@
self.set_filename(filename)
self.set_saved(1)
try:
- #self.editwin.store_file_breaks()
- self.editpage.editwin.store_file_breaks()
+ self.editpage.editwin.store_file_breaks(self.editpage)
except AttributeError:
pass
self.text.focus_set()
More information about the Python-checkins
mailing list