This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients kbk, taleinat
Date 2007-10-10.02:17:02
SpamBayes Score 0.00019335051
Marked as misclassified No
Message-id <1191982624.13.0.198270020748.issue1253@psf.upfronthosting.co.za>
In-reply-to
Content
The Percolator class has been very hard to figure out, and has been a
source of confusion for users wanting to "hack" IDLE.

This patch makes Percolator a generally useful class which inherits from
Delegator. It also adds a new class, TkTextPercolator, which inherits
from Percolator and does all of the Text widget specific stuff.

The code has been refactored, cleaned up, and the in-code comments have
been improved. UndoDelegator.py, ColorDelegator.py and EditorWindow.py
have been updated as needed.

Also, the code using ColorDelegator in EditorWindow.py has been slightly
modified to work better with the Percolator.

I've done some testing (only on WinXP but nothing here is platform
specific) and this seems to work without a hitch.

This patch is required for the Squeezer and ShellLogger IDLE extensions
found on PyPI to be able to co-exist.
Files
File name Uploaded
IDLE_Percolator.071010.patch taleinat, 2007-10-10.02:17:03
History
Date User Action Args
2007-10-10 02:17:04taleinatsetspambayes_score: 0.000193351 -> 0.00019335051
recipients: + taleinat, kbk
2007-10-10 02:17:04taleinatsetspambayes_score: 0.000193351 -> 0.000193351
messageid: <1191982624.13.0.198270020748.issue1253@psf.upfronthosting.co.za>
2007-10-10 02:17:04taleinatlinkissue1253 messages
2007-10-10 02:17:03taleinatcreate