homepage

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.

classification
Title: When changing IDLE configuration all text in shell window loses highlighting
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.2, Python 3.3, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Ramchandra Apte, kbk, ned.deily, python-dev, roger.serwy
Priority: normal Keywords: patch

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:31adminsetgithub: 59167
2012年05月31日 17:01:04ned.deilysetstatus: open -> closed

versions: + Python 2.7
nosy: + ned.deily

messages: + msg162014
resolution: fixed
stage: resolved
2012年05月31日 16:58:49python-devsetnosy: + python-dev
messages: + msg162013
2012年05月31日 16:02:27roger.serwysetfiles: + issue14962.patch
keywords: + patch
messages: + msg162011
2012年05月30日 17:22:24roger.serwysetnosy: + roger.serwy
2012年05月30日 10:41:39Ramchandra Aptesetnosy: + kbk
2012年05月30日 09:01:16Ramchandra Aptesettitle: 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:58Ramchandra Aptecreate

AltStyle によって変換されたページ (->オリジナル) /