[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kate/syntax/data
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2010-06-24 17:56:01
Message-ID: 20100624175601.78AEBAC8DE () svn ! kde ! org
[Download RAW message or body]
SVN commit 1142352 by cullmann:
mwolff:
fix highlight of token in assigment
M +2 -0 grammar.xml
--- trunk/KDE/kdelibs/kate/syntax/data/grammar.xml #1142351:1142352
@@ -92,6 +92,8 @@
<!-- memberVar=AstNode -->
<context name="MemberAst" attribute="AstNode" lineEndContext="#pop">
<DetectSpaces />
+ <!-- tokens are all-uppercase -->
+ <RegExpr attribute="Token" insensitive="false" context="#pop" String="\b[A-Z_]+\b" />
<DetectIdentifier attribute="AstNode" context="#pop" />
</context>
<!-- -> AstNode -->
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic