diff options
author | Ned Deily <nad@acm.org> | 2012-05-31 16:58:08 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-05-31 16:58:08 (GMT) |
commit | d3487be8768bc763cdd931e0de73e2e7d3d3e0a0 (patch) | |
tree | 5fab57695e9af0151231bc76c04f9d65a64518fc | |
parent | d2456556b2eadc2805185538214ecfe41365d0df (diff) | |
parent | 8b2a56b89d6ce0d8ce3343953529e07a42ffc917 (diff) | |
download | cpython-d3487be8768bc763cdd931e0de73e2e7d3d3e0a0.zip cpython-d3487be8768bc763cdd931e0de73e2e7d3d3e0a0.tar.gz cpython-d3487be8768bc763cdd931e0de73e2e7d3d3e0a0.tar.bz2 |
Issue #14962: merge
-rw-r--r-- | Lib/idlelib/PyShell.py | 5 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 0eefc93..9df8957 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -309,6 +309,11 @@ class ModifiedColorDelegator(ColorDelegator): "console": idleConf.GetHighlight(theme, "console"), }) + def removecolors(self): + # Don't remove shell color tags before "iomark" + for tag in self.tagdefs: + self.tag_remove(tag, "iomark", "end") + class ModifiedUndoDelegator(UndoDelegator): "Extend base class: forbid insert/delete before the I/O mark" @@ -10,6 +10,9 @@ What's New in Python 3.3.0 Beta 1? Library ------- +- Issue #14962: Update text coloring in IDLE shell window after changing + options. Patch by Roger Serwy. + - Issue #14963: Convert contextlib.ExitStack.__exit__ to use an iterative algorithm (Patch by Alon Horev) |