[Idle-dev] CVS: idle PyShell.py,1.8,1.9 config-highlight.def,1.1,1.2
Stephen M. Gava
elguavas@users.sourceforge.net
Sat, 03 Nov 2001 23:02:04 -0800
Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv17180
Modified Files:
PyShell.py config-highlight.def
Log Message:
further config system work
Index: PyShell.py
===================================================================
RCS file: /cvsroot/idlefork/idle/PyShell.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** PyShell.py 2001/10/07 11:44:49 1.8
--- PyShell.py 2001/11/04 07:02:02 1.9
***************
*** 44,47 ****
--- 44,48 ----
from OutputWindow import OutputWindow, OnDemandOutputWindow
from IdleConf import idleconf
+ from configHandler import idleConf
import idlever
***************
*** 142,154 ****
tagdefs = ColorDelegator.tagdefs.copy()
! cconf = idleconf.getsection('Colors')
!
tagdefs.update({
! "stdin": cconf.getcolor("stdin"),
! "stdout": cconf.getcolor("stdout"),
! "stderr": cconf.getcolor("stderr"),
! "console": cconf.getcolor("console"),
! "ERROR": cconf.getcolor("ERROR"),
! None: cconf.getcolor("normal"),
})
--- 143,155 ----
tagdefs = ColorDelegator.tagdefs.copy()
! theme = idleConf.GetOption('main','Theme','name')
tagdefs.update({
!
! "stdin": idleConf.GetHighlight(theme, "stdin"),
! "stdout": idleConf.GetHighlight(theme, "stdout"),
! "stderr": idleConf.GetHighlight(theme, "stderr"),
! "console": idleConf.GetHighlight(theme, "console"),
! "ERROR": idleConf.GetHighlight(theme, "error"),
! None: idleConf.GetHighlight(theme, "normal"),
})
Index: config-highlight.def
===================================================================
RCS file: /cvsroot/idlefork/idle/config-highlight.def,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** config-highlight.def 2001/09/24 09:43:17 1.1
--- config-highlight.def 2001/11/04 07:02:02 1.2
***************
*** 22,26 ****
hit-foreground= #ffffff
hit-fontStyle= normal
! cursor-background= black
error-background= #ff7777
#shell window
--- 22,26 ----
hit-foreground= #ffffff
hit-fontStyle= normal
! cursor-foreround= black
error-background= #ff7777
#shell window
***************
*** 49,53 ****
hit-background= #000000
hit-foreground= #ffffff
! cursor-background= black
error-background= #ff7777
#shell window
--- 49,53 ----
hit-background= #000000
hit-foreground= #ffffff
! cursor-foreground= black
error-background= #ff7777
#shell window