Commit c821a607 authored by Christoph Cullmann's avatar Christoph Cullmann

sync hl files

parent 7066cfa2
...@@ -209,7 +209,6 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo ...@@ -209,7 +209,6 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo
* [Bash](/syntax/data/syntax/bash.xml) * [Bash](/syntax/data/syntax/bash.xml)
* [BrightScript](/syntax/data/syntax/brightscript.xml) * [BrightScript](/syntax/data/syntax/brightscript.xml)
* [CLIST](/syntax/data/syntax/clist.xml) * [CLIST](/syntax/data/syntax/clist.xml)
* [Chicken](/syntax/data/syntax/chicken.xml)
* [CoffeeScript](/syntax/data/syntax/coffee.xml) * [CoffeeScript](/syntax/data/syntax/coffee.xml)
* [CubeScript](/syntax/data/syntax/cubescript.xml) * [CubeScript](/syntax/data/syntax/cubescript.xml)
* [Erlang](/syntax/data/syntax/erlang.xml) * [Erlang](/syntax/data/syntax/erlang.xml)
...@@ -310,6 +309,7 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo ...@@ -310,6 +309,7 @@ Kate's highlighting powered by [KSyntaxHighlighting](https://api.kde.org/framewo
* [Modula-2 (R10 only)](/syntax/data/syntax/modula-2-r10-only.xml) * [Modula-2 (R10 only)](/syntax/data/syntax/modula-2-r10-only.xml)
* [MonoBasic](/syntax/data/syntax/monobasic.xml) * [MonoBasic](/syntax/data/syntax/monobasic.xml)
* [Nemerle](/syntax/data/syntax/nemerle.xml) * [Nemerle](/syntax/data/syntax/nemerle.xml)
* [Nim](/syntax/data/syntax/nim.xml)
* [OORS](/syntax/data/syntax/oors.xml) * [OORS](/syntax/data/syntax/oors.xml)
* [OPAL](/syntax/data/syntax/opal.xml) * [OPAL](/syntax/data/syntax/opal.xml)
* [Objective Caml](/syntax/data/syntax/ocaml.xml) * [Objective Caml](/syntax/data/syntax/ocaml.xml)
......
This diff is collapsed.
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name --> <!ENTITY pathpart "([\w_@.&#37;*?+-]|\\ )"> <!-- valid character in a file name -->
<!ENTITY charbeforecomment "[\s;]"> <!-- character before a comment # --> <!ENTITY charbeforecomment "[\s;]"> <!-- character before a comment # -->
]> ]>
<language name="Bash" version="10" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD;APKBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <language name="Bash" version="11" kateversion="5.0" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;*.nix;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD;APKBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl) <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net) Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
...@@ -563,7 +563,8 @@ ...@@ -563,7 +563,8 @@
<!-- handle here document --> <!-- handle here document -->
<Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" /> <Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" />
<!-- handle process subst --> <!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" /> <Detect2Chars attribute="Redirection" context="ProcessSubst" char="&lt;" char1="(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&gt;" char1="(" />
<!-- handle redirection --> <!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" /> <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, | and || --> <!-- handle &, &&, | and || -->
...@@ -606,7 +607,8 @@ ...@@ -606,7 +607,8 @@
<!-- handle here document --> <!-- handle here document -->
<Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" /> <Detect2Chars attribute="Redirection" context="HereDoc" char="&lt;" char1="&lt;" lookAhead="true" />
<!-- handle process subst --> <!-- handle process subst -->
<RegExpr attribute="Redirection" context="ProcessSubst" String="[&lt;&gt;]\(" /> <Detect2Chars attribute="Redirection" context="ProcessSubst" char="&lt;" char1="(" />
<Detect2Chars attribute="Redirection" context="ProcessSubst" char="&gt;" char1="(" />
<!-- handle redirection --> <!-- handle redirection -->
<RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" /> <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(&gt;{1,2}|&lt;)(&amp;[0-9]+-?)?|&amp;&gt;|&gt;&amp;|[0-9]*&lt;&gt;)" />
<!-- handle &, &&, |, ||, ; and ;; --> <!-- handle &, &&, |, ||, ; and ;; -->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!DOCTYPE language> <!DOCTYPE language>
<!-- Based on Python syntax highlighting v1.99 by Primoz Anzur, Paul Giannaros, Michael Bueker, Per Wigren --> <!-- Based on Python syntax highlighting v1.99 by Primoz Anzur, Paul Giannaros, Michael Bueker, Per Wigren -->
<!-- Also based on boo.lang from gtksourceview --> <!-- Also based on boo.lang from gtksourceview -->
<language name="Boo" version="3" kateversion="5.0" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL"> <language name="Boo" version="4" kateversion="5.0" section="Sources" extensions="*.boo" mimetype="text/x-boo" casesensitive="1" author="Marc Dassonneville" license="LGPL">
<highlighting> <highlighting>
<list name="namespace"> <list name="namespace">
<item>import</item> <item>import</item>
...@@ -163,11 +163,13 @@ ...@@ -163,11 +163,13 @@
<RegExpr attribute="Hex" String="0[Xx][0-9a-fA-F]+" context="#stay"/> <RegExpr attribute="Hex" String="0[Xx][0-9a-fA-F]+" context="#stay"/>
<RegExpr attribute="Octal" String="0[1-9][0-9]*" context="#stay"/> <RegExpr attribute="Octal" String="0[1-9][0-9]*" context="#stay"/>
<RegExpr attribute="Raw String" String="[rR]'''" context="Raw Tripple A-string"/> <StringDetect attribute="Raw String" String="r'''" context="Raw Tripple A-string" insensitive="1"/>
<RegExpr attribute="Raw String" String="[rR]&quot;&quot;&quot;" context="Raw Tripple Q-string"/> <StringDetect attribute="Raw String" String="r&quot;&quot;&quot;" context="Raw Tripple Q-string" insensitive="1"/>
<RegExpr attribute="Raw String" String="[rR]'" context="Raw A-string"/> <Detect2Chars attribute="Raw String" char="r" char1="'" context="Raw A-string"/>
<RegExpr attribute="Raw String" String="[rR]&quot;" context="Raw Q-string"/> <Detect2Chars attribute="Raw String" char="R" char1="'" context="Raw A-string"/>
<Detect2Chars attribute="Raw String" char="r" char1="&quot;" context="Raw Q-string"/>
<Detect2Chars attribute="Raw String" char="R" char1="&quot;" context="Raw Q-string"/>
<RegExpr attribute="Comment" String="#.*$" context="#stay"/> <RegExpr attribute="Comment" String="#.*$" context="#stay"/>
<RegExpr attribute="Comment" String="^\s*u?'''" context="Tripple A-comment" beginRegion="Tripple A-region"/> <RegExpr attribute="Comment" String="^\s*u?'''" context="Tripple A-comment" beginRegion="Tripple A-region"/>
...@@ -185,7 +187,7 @@ ...@@ -185,7 +187,7 @@
<StringDetect attribute="Operator" String="[|" context="Quasi-Quotation" beginRegion="qq"/> <StringDetect attribute="Operator" String="[|" context="Quasi-Quotation" beginRegion="qq"/>
<StringDetect attribute="Operator" String="|]" context="#pop" endRegion="qq"/> <StringDetect attribute="Operator" String="|]" context="#pop" endRegion="qq"/>
<RegExpr attribute="Operator" String="[+*/%\|=;\!&lt;&gt;!^&amp;~-]" context="#stay"/> <AnyChar attribute="Operator" String="+*/%|=;!&lt;&gt;!^&amp;~-" context="#stay"/>
<RegExpr attribute="String Substitution" String="%[a-zA-Z]" context="#stay"/> <RegExpr attribute="String Substitution" String="%[a-zA-Z]" context="#stay"/>
</context> </context>
......
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"> <!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Changelog" version="10" kateversion="2.4" section="Other" extensions="" mimetype=""> <language name="Debian Changelog" version="11" kateversion="2.4" section="Other" extensions="" mimetype="">
<highlighting> <highlighting>
<list name="keywords"> <list name="keywords">
<item>urgency</item> <item>urgency</item>
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
<context attribute="Normal Text" lineEndContext="#pop" name="Head"> <context attribute="Normal Text" lineEndContext="#pop" name="Head">
<DetectChar attribute="Keyword" context="Version" char="("/> <DetectChar attribute="Keyword" context="Version" char="("/>
<RegExpr attribute="Keyword" context="#stay" String="[,;=]"/> <AnyChar attribute="Keyword" context="#stay" String=",;="/>
<keyword attribute="Keyword" context="#stay" String="keywords"/> <keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data" context="#stay" String="distributions"/> <keyword attribute="Data" context="#stay" String="distributions"/>
<keyword attribute="Data" context="#stay" String="urgencies"/> <keyword attribute="Data" context="#stay" String="urgencies"/>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"> <!DOCTYPE language SYSTEM "language.dtd">
<language name="Debian Control" version="1" kateversion="5.0" section="Other" extensions="control" mimetype=""> <language name="Debian Control" version="2" kateversion="5.0" section="Other" extensions="control" mimetype="">
<highlighting> <highlighting>
<contexts> <contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="INIT"> <context attribute="Normal Text" lineEndContext="#stay" name="INIT">
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
<context attribute="Value" lineEndContext="#pop" name="DependencyField"> <context attribute="Value" lineEndContext="#pop" name="DependencyField">
<RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;" minimal="true"/> <RegExpr attribute="Email" context="#stay" String="&lt;.*@.*&gt;" minimal="true"/>
<Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
<RegExpr attribute="Keyword" context="#stay" String="[,\|]"/> <AnyChar attribute="Keyword" context="#stay" String=",|"/>
<DetectChar attribute="Keyword" context="Constrain" char="("/> <DetectChar attribute="Keyword" context="Constrain" char="("/>
<DetectChar attribute="Keyword" context="Constrain" char="["/> <DetectChar attribute="Keyword" context="Constrain" char="["/>
</context> </context>
<context attribute="Version" lineEndContext="#stay" name="Constrain"> <context attribute="Version" lineEndContext="#stay" name="Constrain">
<Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/>
<RegExpr attribute="Keyword" context="#stay" String="[!&lt;=&gt;]"/> <AnyChar attribute="Keyword" context="#stay" String="!&lt;=&gt;"/>
<DetectChar attribute="Keyword" context="#pop" char=")"/> <DetectChar attribute="Keyword" context="#pop" char=")"/>
<DetectChar attribute="Keyword" context="#pop" char="]"/> <DetectChar attribute="Keyword" context="#pop" char="]"/>
</context> </context>
......
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"> <!DOCTYPE language SYSTEM "language.dtd">
<language name="Elm" version="2" kateversion="5.0" section="Sources" extensions="*.elm" author="Bonghyun Kim (bonghyun.d.kim@gmail.com)" license="MIT" style="elm"> <language name="Elm" version="3" kateversion="5.0" section="Sources" extensions="*.elm" author="Bonghyun Kim (bonghyun.d.kim@gmail.com)" license="MIT" style="elm">
<highlighting> <highlighting>
<list name="declarations"> <list name="declarations">
<item>type</item> <item>type</item>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<RegExpr attribute="Name" context="#stay" String="(\b[a-z]\w*|\b_\b)" /> <RegExpr attribute="Name" context="#stay" String="(\b[a-z]\w*|\b_\b)" />
<RegExpr attribute="Operator" context="#stay" String="(-&gt;|::|\/\/|\.\.|&amp;&amp;|\|\||\+\+|\|&gt;|&lt;\||&gt;&gt;|&lt;&lt;|==|\/=|&lt;=|&gt;=)" /> <RegExpr attribute="Operator" context="#stay" String="(-&gt;|::|\/\/|\.\.|&amp;&amp;|\|\||\+\+|\|&gt;|&lt;\||&gt;&gt;|&lt;&lt;|==|\/=|&lt;=|&gt;=)" />
<RegExpr attribute="Operator" context="#stay" String="[+-\/*%=&gt;&lt;^\|!]" /> <RegExpr attribute="Operator" context="#stay" String="[+-\/*%=&gt;&lt;^\|!]" />
<RegExpr attribute="Operator" context="#stay" String="[@\#$&amp;~?]" /> <AnyChar attribute="Operator" context="#stay" String="@#$&amp;~?" />
<RegExpr attribute="Type" context="#stay" String="\b[A-Z][\w]*" /> <RegExpr attribute="Type" context="#stay" String="\b[A-Z][\w]*" />
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
--> -->
<language name="G-Code" <language name="G-Code"
version="4" version="5"
kateversion="3.8" kateversion="3.8"
section="3D" section="3D"
extensions="*.ngc" extensions="*.ngc"
...@@ -94,11 +94,11 @@ ...@@ -94,11 +94,11 @@
<DetectChar char="]" attribute="Brackets"/> <DetectChar char="]" attribute="Brackets"/>
<DetectChar char="(" lookAhead="1" context="parenthese"/> <DetectChar char="(" lookAhead="1" context="parenthese"/>
<DetectChar char="#" lookAhead="1" context="hash1"/> <DetectChar char="#" lookAhead="1" context="hash1"/>
<AnyChar String="+-*/=" attribute="Operator"/>
<RegExpr String="[.][\d\s\t]*[.]" lookAhead="1" context="alert"/> <RegExpr String="[.][\d\s\t]*[.]" lookAhead="1" context="alert"/>
<RegExpr String="[.][\d\s\t]*" attribute="Number"/> <RegExpr String="[.][\d\s\t]*" attribute="Number"/>
<RegExpr String="[\d][\d\s\t]*[.][\d\s\t]*[.]" lookAhead="1" context="alert"/> <RegExpr String="[\d][\d\s\t]*[.][\d\s\t]*[.]" lookAhead="1" context="alert"/>
<RegExpr String="[\d][\d\s\t]*[.]?[\d\s\t]*" attribute="Number"/> <RegExpr String="[\d][\d\s\t]*[.]?[\d\s\t]*" attribute="Number"/>
<RegExpr String="[+\-*/=]" attribute="Operator"/>
<RegExpr String=";.*$" attribute="Comment"/> <RegExpr String=";.*$" attribute="Comment"/>
<keyword String="functions" attribute="Function"/> <keyword String="functions" attribute="Function"/>
<keyword String="operators" attribute="Operator"/> <keyword String="operators" attribute="Operator"/>
...@@ -120,27 +120,27 @@ ...@@ -120,27 +120,27 @@
</context> </context>
<context name="feed" attribute="Alert" lineEndContext="#pop"> <context name="feed" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[fF]" attribute="Tool" context="#pop"/> <AnyChar String="fF" attribute="Tool" context="#pop"/>
</context> </context>
<context name="tools" attribute="Alert" lineEndContext="#pop"> <context name="tools" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[tsTS]" attribute="Tool" context="#pop"/> <AnyChar String="tsTS" attribute="Tool" context="#pop"/>
</context> </context>
<context name="gword" attribute="Alert" lineEndContext="#pop"> <context name="gword" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[gG]" attribute="G-word" context="#pop"/> <AnyChar String="gG" attribute="G-word" context="#pop"/>
</context> </context>
<context name="mword" attribute="Alert" lineEndContext="#pop"> <context name="mword" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[mM]" attribute="M-word" context="#pop"/> <AnyChar String="mM" attribute="M-word" context="#pop"/>
</context> </context>
<context name="coords" attribute="Alert" lineEndContext="#pop"> <context name="coords" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[abcu-z]" insensitive="1" attribute="Coordinate" context="#pop"/> <AnyChar String="abcuvwxyzABCUVWXYZ" attribute="Coordinate" context="#pop"/>
</context> </context>
<context name="opts" attribute="Alert" lineEndContext="#pop"> <context name="opts" attribute="Alert" lineEndContext="#pop">
<RegExpr String="[deh-lpqr@^]" insensitive="1" attribute="G-options" context="#pop"/> <AnyChar String="dehijklpqrDEHIJKLPQR@^" attribute="G-options" context="#pop"/>
</context> </context>
<context name="parenthese" attribute="Alert" lineEndContext="#pop"> <context name="parenthese" attribute="Alert" lineEndContext="#pop">
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
- NOTE, FIXME, TODO alerts added on comments - NOTE, FIXME, TODO alerts added on comments
- improved highlighting - improved highlighting
--> -->
<language name="Lua" version="10" indenter="lua" kateversion="5.0" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> <language name="Lua" version="11" indenter="lua" kateversion="5.0" section="Scripts" extensions="*.lua" mimetype="text/x-lua">
<highlighting> <highlighting>
<list name="keywords"> <list name="keywords">
<item>and</item> <item>and</item>
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
<context name="Normal" attribute="Normal Text" lineEndContext="#stay"> <context name="Normal" attribute="Normal Text" lineEndContext="#stay">
<DetectSpaces /> <DetectSpaces />
<keyword attribute="Deprecated" context="#stay" String="deprecated" /> <keyword attribute="Deprecated" context="#stay" String="deprecated" />
<IncludeRules context="##DoxygenLua" /> <Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<RegExpr attribute="RawStrings" context="String_block" String="\[(=*)\[" /> <RegExpr attribute="RawStrings" context="String_block" String="\[(=*)\[" />
<DetectChar attribute="Strings" context="String_single" char="'"/> <DetectChar attribute="Strings" context="String_single" char="'"/>
...@@ -501,6 +501,17 @@ ...@@ -501,6 +501,17 @@
<AnyChar attribute="Symbols" context="#stay" String=":[]().,=~+-*/%&amp;|^&gt;&lt;#;" /> <AnyChar attribute="Symbols" context="#stay" String=":[]().,=~+-*/%&amp;|^&gt;&lt;#;" />
</context> </context>
<context name="MatchComment" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
<IncludeRules context="##DoxygenLua" />
<RegExpr attribute="Comment" context="#pop!BlockComment" String="--\[(=*)\[" beginRegion="BlockComment" />
<Detect2Chars attribute="Comment" context="#pop!Comment" char="-" char1="-" />
</context>
<context name="BlockComment" attribute="Comment" lineEndContext="#stay" dynamic="true">
<RegExpr attribute="Comment" context="#stay" String="[^\]]*" />
<StringDetect attribute="Comment" context="#pop" String="]%1]" dynamic="true" endRegion="BlockComment" />
</context>
<context name="StartControl" attribute="Normal Text" lineEndContext="#stay"> <context name="StartControl" attribute="Normal Text" lineEndContext="#stay">
<keyword attribute="Control" context="#stay" endRegion="chunk" beginRegion="chunk" String="elsecontrol" /> <keyword attribute="Control" context="#stay" endRegion="chunk" beginRegion="chunk" String="elsecontrol" />
<keyword attribute="Control" context="#pop" endRegion="chunk" String="endcontrol" /> <keyword attribute="Control" context="#pop" endRegion="chunk" String="endcontrol" />
...@@ -514,14 +525,14 @@ ...@@ -514,14 +525,14 @@
<context name="Local" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop"> <context name="Local" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
<DetectSpaces /> <DetectSpaces />
<IncludeRules context="##DoxygenLua" /> <Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<RegExpr attribute="Constant" context="LocalVariable" String="\b[A-Z_][A-Z0-9_]*\b" /> <RegExpr attribute="Constant" context="LocalVariable" String="\b[A-Z_][A-Z0-9_]*\b" />
<DetectIdentifier attribute="Variable" context="LocalVariable" /> <DetectIdentifier attribute="Variable" context="LocalVariable" />
</context> </context>
<context name="LocalVariable" attribute="Normal Text" lineEndContext="#pop#pop" fallthroughContext="#pop#pop"> <context name="LocalVariable" attribute="Normal Text" lineEndContext="#pop#pop" fallthroughContext="#pop#pop">
<DetectSpaces /> <DetectSpaces />
<IncludeRules context="##DoxygenLua" /> <Detect2Chars attribute="Comment" context="MatchComment" char="-" char1="-" lookAhead="true"/>
<DetectChar attribute="Symbols" context="#pop" char="," /> <DetectChar attribute="Symbols" context="#pop" char="," />
<DetectChar attribute="Attribute" context="Attribute" char="&lt;" lookAhead="true" /> <DetectChar attribute="Attribute" context="Attribute" char="&lt;" lookAhead="true" />
</context> </context>
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--> -->
<language name="GNU M4" version="2" section="Sources" kateversion="3.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License"> <language name="GNU M4" version="3" section="Sources" kateversion="3.0" extensions="*.m4;" author="Jaak Ristioja" license="New BSD License">
<highlighting> <highlighting>
<list name="optbuiltins"> <list name="optbuiltins">
<item>__gnu__</item> <item>__gnu__</item>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<DetectChar attribute="Commas" char="," context="#stay"/> <DetectChar attribute="Commas" char="," context="#stay"/>
<DetectChar attribute="Operators" char="(" context="inparenthesis" beginRegion="parenthesis"/> <DetectChar attribute="Operators" char="(" context="inparenthesis" beginRegion="parenthesis"/>
<DetectChar attribute="Operators" char=")" context="#pop" endRegion="parenthesis"/> <DetectChar attribute="Operators" char=")" context="#pop" endRegion="parenthesis"/>
<RegExpr attribute="Operators" String="[+*/%\|=\!&lt;&gt;!^&amp;~-]" context="#stay"/> <AnyChar attribute="Operators" String="+*/%|=!&lt;&gt;^&amp;~-" context="#stay"/>
</context> </context>
<context name="inparenthesis" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true"> <context name="inparenthesis" attribute="Normal Text" lineEndContext="#stay" noIndentationBasedFolding="true">
<IncludeRules context="Normal Text" /> <IncludeRules context="Normal Text" />
......
This diff is collapsed.
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<!ENTITY wikiLinkWithDescription "\[\[[^]|]*\|[^]]*\]\]"> <!ENTITY wikiLinkWithDescription "\[\[[^]|]*\|[^]]*\]\]">
<!ENTITY wikiLinkWithoutDescription "\[\[[^]|]*\]\]"> <!ENTITY wikiLinkWithoutDescription "\[\[[^]|]*\]\]">
]> ]>
<language name="MediaWiki" section="Markup" version="6" kateversion="5.0" extensions="*.mediawiki" mimetype="" license="FDL" > <language name="MediaWiki" section="Markup" version="7" kateversion="5.0" extensions="*.mediawiki" mimetype="" license="FDL" >
<highlighting> <highlighting>
<contexts> <contexts>
<context attribute="Normal" lineEndContext="#stay" name="normal" > <context attribute="Normal" lineEndContext="#stay" name="normal" >
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
<RegExpr String="[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" /> <RegExpr String="[=]{4,4}(?!=)" context="Section4" attribute="Section" column="0" />
<RegExpr String="[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" /> <RegExpr String="[=]{3,3}(?!=)" context="Section3" attribute="Section" column="0" />
<RegExpr String="[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" /> <RegExpr String="[=]{2,2}(?!=)" context="Section2" attribute="Section" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" /> <DetectChar char=";" attribute="WikiTag" context="DefinitionListHeader" column="0" />
<IncludeRules context="FindListItem" /> <IncludeRules context="FindListItem" />
<IncludeRules context="FindUrl" /> <IncludeRules context="FindUrl" />
...@@ -29,7 +30,7 @@ ...@@ -29,7 +30,7 @@
<StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" /> <StringDetect String="&lt;pre&gt;" context="Pre" attribute="HtmlTag" />
<IncludeRules context="FindSyntaxHighlightingHtmlElement" /> <IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" /> <RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" /> <DetectSpaces context="Unformatted" column="0" />
</context> </context>
<context name="TableHeader" attribute="Normal" lineEndContext="TableContent" > <context name="TableHeader" attribute="Normal" lineEndContext="TableContent" >
<Detect2Chars char="{" char1="|" attribute="WikiTag" beginRegion="table" /> <Detect2Chars char="{" char1="|" attribute="WikiTag" beginRegion="table" />
...@@ -58,13 +59,15 @@ ...@@ -58,13 +59,15 @@
<IncludeRules context="FindSyntaxHighlightingHtmlElement" /> <IncludeRules context="FindSyntaxHighlightingHtmlElement" />
<RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" /> <RegExpr String="[&lt;][^&gt;]+[&gt;]" attribute="HtmlTag" context="#stay" />
<RegExpr String="[\s]" context="Unformatted" column="0" /> <RegExpr String="[\s]" context="Unformatted" column="0" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<RegExpr String="[-]{4,}" attribute="WikiTag" context="#stay" /> <RegExpr String="[-]{4,}" attribute="WikiTag" context="#stay" />
<DetectChar char="!" attribute="WikiTag" context="#stay" column="0" /> <DetectChar char="!" attribute="WikiTag" context="#stay" column="0" />
</context> </context>
<context attribute="Section" lineEndContext="#pop" name="Section5" > <context attribute="Section" lineEndContext="#pop" name="Section5" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" /> <IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" /> <IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
...@@ -83,7 +86,8 @@ ...@@ -83,7 +86,8 @@
</context> </context>
<context attribute="Section" lineEndContext="#pop" name="Section4" > <context attribute="Section" lineEndContext="#pop" name="Section4" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" /> <IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" /> <IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
...@@ -101,7 +105,8 @@ ...@@ -101,7 +105,8 @@
</context> </context>
<context attribute="Section" lineEndContext="#pop" name="Section3" > <context attribute="Section" lineEndContext="#pop" name="Section3" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" /> <IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" /> <IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
...@@ -119,7 +124,8 @@ ...@@ -119,7 +124,8 @@
</context> </context>
<context attribute="Section" lineEndContext="#pop" name="Section2" > <context attribute="Section" lineEndContext="#pop" name="Section2" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindUrl" /> <IncludeRules context="FindUrl" />
<IncludeRules context="FindTextDecorationsInHeader" /> <IncludeRules context="FindTextDecorationsInHeader" />
<StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" /> <StringDetect String="{{{" context="TemplateParameter" attribute="WikiTag" />
...@@ -284,7 +290,8 @@ ...@@ -284,7 +290,8 @@
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlot" > <context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlot" >
<Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" /> <Detect2Chars char="}" char1="}" context="#pop" attribute="WikiTag" lookAhead="true" />
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" /> <IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" /> <IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" /> <IncludeRules context="FindTextDecorations" />
...@@ -306,7 +313,8 @@ ...@@ -306,7 +313,8 @@
</context> </context>
<context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotValue" > <context attribute="Normal" lineEndContext="#stay" name="TemplateParameterSlotValue" >
<StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" /> <StringDetect String="&lt;!--" context="comment" attribute="Comment" beginRegion="comment" />
<RegExpr String="[~]{3,4}" attribute="WikiTag" context="#stay" /> <StringDetect String="~~~~" attribute="WikiTag" context="#stay" />
<StringDetect String="~~~" attribute="WikiTag" context="#stay" />
<IncludeRules context="FindListItem" /> <IncludeRules context="FindListItem" />
<IncludeRules context="FindUrlWithinTemplate" /> <IncludeRules context="FindUrlWithinTemplate" />
<IncludeRules context="FindTextDecorations" /> <IncludeRules context="FindTextDecorations" />
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd"> <!DOCTYPE language SYSTEM "language.dtd">
<language name="Music Publisher" version="3" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <language name="Music Publisher" version="4" kateversion="2.4" section="Other" extensions="*.mup;*.not" mimetype="text/x-mup;audio/x-mup;application/x-mup;audio/x-notes" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
<highlighting> <highlighting>
...@@ -625,8 +625,9 @@ ...@@ -625,8 +625,9 @@
<context attribute="Value" lineEndContext="#pop" name="Value" <context attribute="Value" lineEndContext="#pop" name="Value"
fallthrough="true" fallthroughContext="#pop"> fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Normal Text" context="#pop" char=";" /> <DetectChar attribute="Normal Text" context="#pop" char=";" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s,&amp;()-]+" /> <AnyChar attribute="Normal Text" context="#stay" String=",&amp;()-" />
<keyword attribute="Value" context="#stay" String="mupvalues" /> <keyword attribute="Value" context="#stay" String="mupvalues" />
<keyword attribute="Value" context="#pop" String="mupfontnames" /> <keyword attribute="Value" context="#pop" String="mupfontnames" />
<keyword attribute="Value" context="#pop" String="mupfontstyles" /> <keyword attribute="Value" context="#pop" String="mupfontstyles" />
...@@ -644,8 +645,9 @@ ...@@ -644,8 +645,9 @@
<context attribute="Parameter" lineEndContext="#pop" name="Unset" <context attribute="Parameter" lineEndContext="#pop" name="Unset"
fallthrough="true" fallthroughContext="#pop"> fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Normal Text" context="#stay" char="," />
<keyword attribute="Parameter" context="#stay" String="mupparameters" /> <keyword attribute="Parameter" context="#stay" String="mupparameters" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s,]+" />
<RegExpr attribute="Error" context="#pop" String="\w+" /> <RegExpr attribute="Error" context="#pop" String="\w+" />
</context> </context>
...@@ -698,8 +700,9 @@ ...@@ -698,8 +700,9 @@
<context attribute="Note Attribute" lineEndContext="#pop" name="Bracket" <context attribute="Note Attribute" lineEndContext="#pop" name="Bracket"
fallthrough="true" fallthroughContext="#pop"> fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="Special Char" context="#pop" char="]" /> <DetectChar attribute="Special Char" context="#pop" char="]" />
<RegExpr attribute="Normal Text" context="#stay" String="[\s;,]+" /> <AnyChar attribute="Normal Text" context="#stay" String=";," />
<RegExpr attribute="Note Attribute" context="#stay" String="\b(grace|xnote|cue|diam|up|down)\b" /> <RegExpr attribute="Note Attribute" context="#stay" String="\b(grace|xnote|cue|diam|up|down)\b" />
<RegExpr attribute="Note Attribute" context="#stay" String="\b(slash|len|pad|ho|dist)\s*[0-9.+-]*" /> <RegExpr attribute="Note Attribute" context="#stay" String="\b(slash|len|pad|ho|dist)\s*[0-9.+-]*" />
<RegExpr attribute="Note Attribute" context="Bracket With" String="\bwith\s*(?=[A-Z&quot;^&gt;.-])" /> <RegExpr attribute="Note Attribute" context="Bracket With" String="\bwith\s*(?=[A-Z&quot;^&gt;.-])" />
...@@ -712,9 +715,10 @@ ...@@ -712,9 +715,10 @@
<context attribute="Note Attribute" lineEndContext="#pop" name="Bracket With" <context attribute="Note Attribute" lineEndContext="#pop" name="Bracket With"
fallthrough="true" fallthroughContext="#pop"> fallthrough="true" fallthroughContext="#pop">
<DetectSpaces attribute="Normal Text" context="#stay" />
<DetectChar attribute="String" context="String" char="&quot;" /> <DetectChar attribute="String" context="String" char="&quot;" />
<RegExpr attribute="Note Attribute" context="#stay" String=