Roger Serwy <roger.se...@gmail.com> added the comment:

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.

----------
keywords: +patch
nosy: +serwy
stage:  -> patch review
versions: +Python 3.3
Added file: http://bugs.python.org/file26370/issue6858.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6858>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to