From 0401924f82e09cbadba4abffe43963cb362cc29a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Apr 2009 01:31:49 +0000 Subject: Fix colors. git-svn-id: http://svn.drobilla.net/resp/tuplr@114 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- highlight.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'highlight.py') diff --git a/highlight.py b/highlight.py index d5d15de..14bb9a8 100755 --- a/highlight.py +++ b/highlight.py @@ -27,7 +27,7 @@ class TuplrLexer(RegexLexer): tokens = { 'root' : [ # types - (r':?[A-Z][a-zA-Z]*|:\([A-Z][a-zA-Z\ ]*\)', Keyword.Type), + (r':?[A-Z][a-zA-Z.]*|:\([A-Z][a-zA-Z.\ ]*\)', Keyword.Type), # line comments (r';.*$', Comment.Single), @@ -77,8 +77,9 @@ class TuplrStyle(Style): Comment: '#79E', Keyword: '#EE5', Name: '#DDD', - Name.Function: '#0F0', - Name.Class: '#5E5', + Text: '#DDD', +# Name.Function: '#0F0', +# Name.Class: '#E55', String: '#F88', Keyword.Type: '#5E5', Punctuation: '#AAA', -- cgit v1.2.1