[Python-checkins] r65428 - sandbox/trunk/ttk-gsoc/src/idlelib/ColorDelegator.py

guilherme.polo python-checkins at python.org
Sun Aug 3 04:23:39 CEST 2008


Author: guilherme.polo
Date: Sun Aug  3 04:23:39 2008
New Revision: 65428

Log:
Added a bug note :p

Modified:
   sandbox/trunk/ttk-gsoc/src/idlelib/ColorDelegator.py

Modified: sandbox/trunk/ttk-gsoc/src/idlelib/ColorDelegator.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/ColorDelegator.py	(original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/ColorDelegator.py	Sun Aug  3 04:23:39 2008
@@ -182,6 +182,10 @@
             ok = False
             while not ok:
                 mark = next
+                # XXX self could be None here in some cases.
+                #     I can reproduce it by clicking "Apply" then "Ok"
+                #     quickly in the config dialog (while editing a not so
+                #     small file).
                 next = self.index(mark + "+%d lines linestart" % lines_to_get)
                 lines_to_get = min(lines_to_get * 2, 100)
                 ok = "SYNC" in self.tag_names(next + "-1c")


More information about the Python-checkins mailing list