diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-02 09:20:27 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-02 09:20:27 +0000 |
commit | d7b9791584eda0f022813fd2b2df50f59eba29c5 (patch) | |
tree | 395d2d48909ce6f9e002106d1638610f7a7c8321 /kate/data/javascript.xml | |
parent | 84bbc54a086fc6894b247488bf62bdff04dd55fa (diff) | |
download | tdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.tar.gz tdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.zip |
Added remaining missing Kate xml files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1068844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/javascript.xml')
-rw-r--r-- | kate/data/javascript.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kate/data/javascript.xml b/kate/data/javascript.xml index 632cd0576..be2e33d8b 100644 --- a/kate/data/javascript.xml +++ b/kate/data/javascript.xml @@ -3,7 +3,7 @@ <!-- Author: Anders Lund <anders@alweb.dk> //--> <!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //--> <!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //--> -<language name="JavaScript" version="1.10" kateversion="2.3" section="Scripts" extensions="*.js" mimetype="text/x-javascript" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> +<language name="JavaScript" version="1.13" kateversion="2.3" section="Scripts" extensions="*.js" mimetype="text/x-javascript;application/x-javascript" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> <list name="keywords"> <item> if </item> @@ -395,7 +395,7 @@ <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> <DetectSpaces/> <StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1"/> - <RegExpr attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/> + <StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/> <keyword attribute="Keyword" context="#stay" String="keywords" /> <keyword attribute="Function" context="#stay" String="functions" /> <keyword attribute="Objects" context="#stay" String="objects" /> @@ -419,11 +419,13 @@ <context attribute="String" lineEndContext="#pop" name="String"> <DetectIdentifier/> <HlCStringChar attribute="String Char" context="#stay"/> + <LineContinue attribute="String" context="#stay"/> <DetectChar attribute="String" context="#pop" char="""/> </context> <context attribute="String Char" lineEndContext="#pop" name="String 1"> - <DetectIdentifier/> - <DetectChar attribute="String" context="String" char="""/> + <DetectIdentifier/> + <HlCStringChar attribute="String Char" context="#stay"/> + <LineContinue attribute="String" context="#stay"/> <DetectChar attribute="String Char" context="#pop" char="'"/> </context> |