loading core keybindings via new config system plus

further devel of highlight handling
This commit is contained in:
Steven M. Gava 2002-01-04 07:53:06 +00:00
parent c597640515
commit 0cae01c496
8 changed files with 40 additions and 31 deletions

View file

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