diff options
author | Steven M. Gava <elguavas@python.net> | 2002-01-04 07:53:06 (GMT) |
---|---|---|
committer | Steven M. Gava <elguavas@python.net> | 2002-01-04 07:53:06 (GMT) |
commit | 0cae01c49638c95fcff200aa92a3e7d580a9bb3e (patch) | |
tree | 46414c55ede31480184d493badb989bbe090863e /Lib/idlelib/PyShell.py | |
parent | c597640515a9ca3aa1807cc633b8d7bf2aa4a4e6 (diff) | |
download | cpython-0cae01c49638c95fcff200aa92a3e7d580a9bb3e.zip cpython-0cae01c49638c95fcff200aa92a3e7d580a9bb3e.tar.gz cpython-0cae01c49638c95fcff200aa92a3e7d580a9bb3e.tar.bz2 |
loading core keybindings via new config system plus
further devel of highlight handling
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 5037806..9333ea9 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -42,7 +42,6 @@ from FileList import FileList from ColorDelegator import ColorDelegator from UndoDelegator import UndoDelegator from OutputWindow import OutputWindow, OnDemandOutputWindow -from IdleConf import idleconf from configHandler import idleConf import idlever @@ -143,9 +142,9 @@ class ModifiedColorDelegator(ColorDelegator): tagdefs = ColorDelegator.tagdefs.copy() theme = idleConf.GetOption('main','Theme','name') - tagdefs.update({ - "stdin": idleConf.GetHighlight(theme, "stdin"), + tagdefs.update({ + "stdin": {'background':None,'foreground':None}, "stdout": idleConf.GetHighlight(theme, "stdout"), "stderr": idleConf.GetHighlight(theme, "stderr"), "console": idleConf.GetHighlight(theme, "console"), @@ -153,7 +152,6 @@ class ModifiedColorDelegator(ColorDelegator): None: idleConf.GetHighlight(theme, "normal"), }) - class ModifiedUndoDelegator(UndoDelegator): # Forbid insert/delete before the I/O mark |