mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
loading core keybindings via new config system plus
further devel of highlight handling
This commit is contained in:
parent
c597640515
commit
0cae01c496
8 changed files with 40 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue