diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-03 00:41:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-03 00:41:25 +0900 |
commit | bb647dca1516a45ce18f2e040bd20528f588e2fe (patch) | |
tree | 0fe5d9a19e884335a14fdf9741f772b2474df43e /kate/data/javascript-php.xml | |
parent | a7e4c6b5e7916d924c2a9b75a10e427b556b8d65 (diff) | |
download | tdelibs-bb647dca1516a45ce18f2e040bd20528f588e2fe.tar.gz tdelibs-bb647dca1516a45ce18f2e040bd20528f588e2fe.zip |
Kate syntax highlighting files update - Feb 2014
Diffstat (limited to 'kate/data/javascript-php.xml')
-rw-r--r-- | kate/data/javascript-php.xml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kate/data/javascript-php.xml b/kate/data/javascript-php.xml index b1c58bdad..d61b07663 100644 --- a/kate/data/javascript-php.xml +++ b/kate/data/javascript-php.xml @@ -9,7 +9,7 @@ -<language name="JavaScript/PHP" hidden="true" version="1.23" kateversion="2.5" section="Other" extensions="" +<language name="JavaScript/PHP" hidden="true" version="1.22" kateversion="2.4" section="Other" extensions="" mimetype="" indenter="cstyle" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> @@ -109,17 +109,14 @@ <AnyChar attribute="Symbol" String=":!%&+,-/.*<=>?|~^;" /> </context> - <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member"> + <context attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop" name="Object Member"> <IncludeRules context="FindPHP" /> <DetectChar char="." /> <!--DetectIdentifier--> <RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" /> <!--DetectIdentifier--> <RegExpr attribute="Object Member" String="[a-zA-Z_$][\w$]*" /> - <!-- NoRegExp without DetectSpaces. TODO: code reuse without detecting spaces as object member? --> - <Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" /> - <Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" /> - <DetectChar context="#pop" char="/" /> + <IncludeRules context="NoRegExp" /> </context> <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp"> |