branch : pmacs2
This commit is contained in:
moculus 2008-04-17 14:34:32 +00:00
parent 6af6e9a40d
commit 8dfa9bccd6
1 changed files with 7 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class Fundamental(Handler):
tabber = None
colors = {}
config = {}
methods = []
# margin/line numbering
show_line_numbers = False
@ -105,6 +106,12 @@ class Fundamental(Handler):
app.token_colors[key] = val
for (key, val) in cls.config.iteritems():
app.config[key] = val
for mcls in cls.methods:
m = mcls()
if m.name in app.methods:
return
else:
app.methods[m.name] = m
install = classmethod(install)
def __init__(self, w):