changeset 4380:2a3ffc2dc9cf

parser/highlight.py: use .Preprc css class for Token.Comment.Preproc
author Radomir Dopieralski <moindev@sheep.art.pl>
date Sat, 11 Oct 2008 22:33:39 +0200
parents 9ba5c65b18c0
children 67f263c94bcb
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 21:57:13 2008 +0200
+++ b/MoinMoin/parser/highlight.py	Sat Oct 11 22:33:39 2008 +0200
@@ -41,6 +41,8 @@
         if ttype in Token.Text:
             return None
         # Reuse existing MoinMoin css class names
+        elif ttype in Token.Comment.Preproc:
+            return 'Preprc'
         elif ttype in Token.Keyword.Constant:
             return 'ConsWord'
         elif ttype in Token.Keyword: