[New-bugs-announce] [issue1253] IDLE - Percolator overhaul

Tal Einat report at bugs.python.org
Wed Oct 10 04:17:04 CEST 2007


New submission from Tal Einat:

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.

----------
components: IDLE
files: IDLE_Percolator.071010.patch
messages: 56306
nosy: kbk, taleinat
severity: normal
status: open
title: IDLE - Percolator overhaul
type: behavior
versions: Python 2.5, Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1253>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IDLE_Percolator.071010.patch
Type: application/octet-stream
Size: 8896 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071010/c1395c12/attachment-0001.obj 


More information about the New-bugs-announce mailing list