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 roger.serwy
Recipients cvrebert, gert, ggenellina, roger.serwy, taleinat, terry.reedy, zach.ware
Date 2012-07-12.18:54:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342119261.88.0.173821554089.issue6858@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch to allow toggling of the ColorDelegator. It can be toggled using the existing, but undocumented, Control-/ binding. 

The patch modifies the "toggle_colorize_event" to fully remove coloring or fully recolorize the text rather than its existing behavior of disabling/enabling the coloring "thread." It also ensures that a ColorDelegator instance exists in every editor window instead of only those where ispythonsource returns True.

Toggling also works in the shell, but turning highlighting off fails if you start typing again. This is due to issue13495.

The crashing of IDLE described by Tal is likely due to pythonw.exe and is addressed in issue13582.
History
Date User Action Args
2012-07-12 18:54:22roger.serwysetrecipients: + roger.serwy, terry.reedy, ggenellina, taleinat, cvrebert, gert, zach.ware
2012-07-12 18:54:21roger.serwysetmessageid: <1342119261.88.0.173821554089.issue6858@psf.upfronthosting.co.za>
2012-07-12 18:54:21roger.serwylinkissue6858 messages
2012-07-12 18:54:21roger.serwycreate