summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2007-12-13 03:38:16 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2007-12-13 03:38:16 (GMT)
commit8a78cadf561ea67649a84d9b4055dd4c24e2e0ba (patch)
tree83dcf49d1d7c420f5dd6e4c879c5926d3f004e91 /Lib/idlelib/PyShell.py
parentf4d4f8b97fc2e5a59058c54abe6a23194c3d3116 (diff)
downloadcpython-8a78cadf561ea67649a84d9b4055dd4c24e2e0ba.zip
cpython-8a78cadf561ea67649a84d9b4055dd4c24e2e0ba.tar.gz
cpython-8a78cadf561ea67649a84d9b4055dd4c24e2e0ba.tar.bz2
Shell was not colorizing due to bug introduced at r57998, Bug 1586.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 097818f..9962894 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -811,6 +811,8 @@ class PyShell(OutputWindow):
text.bind("<<open-stack-viewer>>", self.open_stack_viewer)
text.bind("<<toggle-debugger>>", self.toggle_debugger)
text.bind("<<toggle-jit-stack-viewer>>", self.toggle_jit_stack_viewer)
+ self.color = color = self.ColorDelegator()
+ self.per.insertfilter(color)
if use_subprocess:
text.bind("<<view-restart>>", self.view_restart_mark)
text.bind("<<restart-shell>>", self.restart_shell)