comparison Lib/idlelib/PyShell.py @ 77267:86f62adb09cf

Issue #14962: merge
author Ned Deily <nad@acm.org>
date Thu, 31 May 2012 09:58:08 -0700
parents 21862628a013 9d0c3a835bfe
children 4915cd0cb7af
comparison
equal deleted inserted replaced
77264:c7b16e2be71a 77267:86f62adb09cf
306 "stdin": {'background':None,'foreground':None}, 306 "stdin": {'background':None,'foreground':None},
307 "stdout": idleConf.GetHighlight(theme, "stdout"), 307 "stdout": idleConf.GetHighlight(theme, "stdout"),
308 "stderr": idleConf.GetHighlight(theme, "stderr"), 308 "stderr": idleConf.GetHighlight(theme, "stderr"),
309 "console": idleConf.GetHighlight(theme, "console"), 309 "console": idleConf.GetHighlight(theme, "console"),
310 }) 310 })
311
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")
311 316
312 class ModifiedUndoDelegator(UndoDelegator): 317 class ModifiedUndoDelegator(UndoDelegator):
313 "Extend base class: forbid insert/delete before the I/O mark" 318 "Extend base class: forbid insert/delete before the I/O mark"
314 319
315 def insert(self, index, chars, tags=None): 320 def insert(self, index, chars, tags=None):