Issue #14962: Update text coloring in IDLE shell window after changing

options.  Patch by Roger Serwy.
This commit is contained in:
Ned Deily 2012-05-31 09:17:29 -07:00
parent c3ea4085f9
commit 5e247b705e
2 changed files with 8 additions and 0 deletions

View File

@ -313,6 +313,11 @@ class ModifiedColorDelegator(ColorDelegator):
"console": idleConf.GetHighlight(theme, "console"), "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): class ModifiedUndoDelegator(UndoDelegator):
"Extend base class: forbid insert/delete before the I/O mark" "Extend base class: forbid insert/delete before the I/O mark"

View File

@ -67,6 +67,9 @@ Core and Builtins
Library Library
------- -------
- Issue #14962: Update text coloring in IDLE shell window after changing
options. Patch by Roger Serwy.
- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. - Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
- Issue12510: Attempting to get invalid tooltip no longer closes Idle. - Issue12510: Attempting to get invalid tooltip no longer closes Idle.