branch : pmacs2
This commit is contained in:
moculus 2008-04-20 00:25:17 +00:00
parent 97069f41a0
commit ba7cc48dfb
3 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,6 @@ WORD_LETTERS = list(string.letters + string.digits)
ERROR_TIMEOUT = -1
#ERROR_TIMEOUT = 2
#DARK_BACKGROUND = False
DARK_BACKGROUND = True
class Application(object):
def __init__(self, stdscr, buffers=[], jump_to_line=None, init_mode=None):
# initalize curses primitives

2
lex.py
View File

@ -475,6 +475,8 @@ class Lexer(object):
assert type(app.token_colors[name]) == type(()), repr(mode)
v = list(app.token_colors[name])
break
# bold colors seem to always look nicer.
if True:
v.append('bold')
return v

View File

@ -40,6 +40,7 @@ class Mutt(mode.Fundamental):
'punct': ('default', 'default'),
'stuff': ('default', 'default'),
}
actions = [MuttInsertSpace, MuttWrapParagraph]
def __init__(self, w):
mode.Fundamental.__init__(self, w)
self.add_bindings('learn-word', ('C-c l',))