changeset 4385:68998671e2ae

parser/highlight.py: highlight Token.Operator.Word as a ResWord
author Radomir Dopieralski <moindev@sheep.art.pl>
date Sat, 11 Oct 2008 23:37:57 +0200
parents 67f263c94bcb
children fad86749fe04
files MoinMoin/parser/highlight.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/highlight.py	Sat Oct 11 23:12:42 2008 +0200
+++ b/MoinMoin/parser/highlight.py	Sat Oct 11 23:37:57 2008 +0200
@@ -41,6 +41,8 @@
         if ttype in Token.Text:
             return None
         # Reuse existing MoinMoin css class names
+        elif ttype in Token.Operator.Word:
+            return 'ResWord'
         elif ttype in Token.Comment.Preproc:
             return 'Preprc'
         elif ttype in Token.Keyword.Constant: