branch : pmacs2
This commit is contained in:
moculus 2008-03-16 15:43:07 +00:00
parent ed443b4f32
commit b19b8803b6
1 changed files with 5 additions and 3 deletions

View File

@ -54,15 +54,20 @@ class Application(object):
'comment.start': ('red', 'default'), 'comment.start': ('red', 'default'),
'comment.null': ('red', 'default'), 'comment.null': ('red', 'default'),
'comment.end': ('red', 'default'), 'comment.end': ('red', 'default'),
'continuation': ('red', 'default'), 'continuation': ('red', 'default'),
'string.start': ('green', 'default'), 'string.start': ('green', 'default'),
'string.null': ('green', 'default'), 'string.null': ('green', 'default'),
'string.hex': ('magenta', 'default'),
'string.octal': ('magenta', 'default'), 'string.octal': ('magenta', 'default'),
'string.escaped': ('magenta', 'default'), 'string.escaped': ('magenta', 'default'),
'string.end': ('green', 'default'), 'string.end': ('green', 'default'),
'char': ('green', 'default'), 'char': ('green', 'default'),
'integer': ('green', 'default'), 'integer': ('green', 'default'),
'float': ('green', 'default'), 'float': ('green', 'default'),
'label': ('magenta', 'default'), 'label': ('magenta', 'default'),
'keyword': ('cyan', 'default'), 'keyword': ('cyan', 'default'),
'function': ('blue', 'default'), 'function': ('blue', 'default'),
@ -84,9 +89,6 @@ class Application(object):
color.default_color = False color.default_color = False
color.init() color.init()
# make sure the cursor is visible
#curses.curs_set(1)
# this is how we can change color settings # this is how we can change color settings
if curses.can_change_color(): if curses.can_change_color():
#curses.init_color(curses.COLOR_BLUE, 750, 400, 0) #curses.init_color(curses.COLOR_BLUE, 750, 400, 0)