Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d3487be

Browse files
committed
Issue #14962: merge
2 parents d245655 + 8b2a56b commit d3487be

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Lib/idlelib/PyShell.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,11 @@ def LoadTagDefs(self):
309309
"console": idleConf.GetHighlight(theme, "console"),
310310
})
311311

312+
def removecolors(self):
313+
# Don't remove shell color tags before "iomark"
314+
for tag in self.tagdefs:
315+
self.tag_remove(tag, "iomark", "end")
316+
312317
class ModifiedUndoDelegator(UndoDelegator):
313318
"Extend base class: forbid insert/delete before the I/O mark"
314319

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ What's New in Python 3.3.0 Beta 1?
1010
Library
1111
-------
1212

13+
- Issue #14962: Update text coloring in IDLE shell window after changing
14+
options. Patch by Roger Serwy.
15+
1316
- Issue #14963: Convert contextlib.ExitStack.__exit__ to use an iterative
1417
algorithm (Patch by Alon Horev)
1518

0 commit comments

Comments
 (0)