[issue14962] When changing IDLE configuration all text in shell window loses highlighting

Roger Serwy report at bugs.python.org
Thu May 31 18:02:27 CEST 2012


Roger Serwy <roger.serwy at gmail.com> added the comment:

Attached is a patch to fix this issue. 

The ModifiedColorDelegator already marks everything before "iomark" as SYNC'ed. This is good, as the ColorDelegator should not be trying to colorize STDOUT text as Python code. 

Resetting the ColorDelegator in _rmcolorizer in EditorWindow.py calls .removecolors(). The patch modifies this method to only remove tags *after* the iomark.

----------
keywords: +patch
Added file: http://bugs.python.org/file25774/issue14962.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14962>
_______________________________________


More information about the Python-bugs-list mailing list