Shell was not colorizing due to bug introduced at r57998, Bug 1586.

This commit is contained in:
Kurt B. Kaiser 2007-12-13 03:38:16 +00:00
parent f4d4f8b97f
commit 8a78cadf56
2 changed files with 17 additions and 2 deletions

View file

@ -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)