Issue 14962: When changing IDLE configuration all text in shell window loses highlighting (original) (raw)

Issue14962

Created on 2012-05-30 09:00 by Ramchandra Apte, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue14962.patch roger.serwy,2012-05-31 16:02 review
Messages (4)
msg161936 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2012-05-30 09:00
When applying or okaying IDLE configuration (Options-> Configure IDLE) all text in the shell window loses highlighting. Text in the shell window created after the configuration is applied is highlighted though.
msg162011 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-05-31 16:02
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.
msg162013 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-05-31 16:58
New changeset 1a4e99460438 by Ned Deily in branch '2.7': Issue #14962: Update text coloring in IDLE shell window after changing http://hg.python.org/cpython/rev/1a4e99460438 New changeset 9d0c3a835bfe by Ned Deily in branch '3.2': Issue #14962: Update text coloring in IDLE shell window after changing http://hg.python.org/cpython/rev/9d0c3a835bfe New changeset 86f62adb09cf by Ned Deily in branch 'default': Issue #14962: merge http://hg.python.org/cpython/rev/86f62adb09cf
msg162014 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-05-31 17:01
LGTM, thanks. Applied for release in 2.7.4, 3.2.4, and 3.3.0.
History
Date User Action Args
2022-04-11 14:57:31 admin set github: 59167
2012-05-31 17:01:04 ned.deily set status: open -> closedversions: + Python 2.7nosy: + ned.deilymessages: + resolution: fixedstage: resolved
2012-05-31 16:58:49 python-dev set nosy: + python-devmessages: +
2012-05-31 16:02:27 roger.serwy set files: + issue14962.patchkeywords: + patchmessages: +
2012-05-30 17:22:24 roger.serwy set nosy: + roger.serwy
2012-05-30 10:41:39 Ramchandra Apte set nosy: + kbk
2012-05-30 09:01:16 Ramchandra Apte set title: When changing IDLE configuration all text in editor window loses highlighting -> When changing IDLE configuration all text in shell window loses highlighting
2012-05-30 09:00:58 Ramchandra Apte create