diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-03-03 21:48:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-03-03 21:48:37 +0900 |
commit | b956734b51a178ba083848672b006aa325217381 (patch) | |
tree | a602f576964c96c18c62796dadfef758c922e20f /kate/data/wml.xml | |
parent | dfe3c9649f649f2dbd7eac60e3847d4e978e24f4 (diff) | |
download | tdelibs-b956734b51a178ba083848672b006aa325217381.tar.gz tdelibs-b956734b51a178ba083848672b006aa325217381.zip |
Update Kate syntax highlight files from
http://kate-editor.org/syntax/2.5/ sources.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/data/wml.xml')
-rw-r--r-- | kate/data/wml.xml | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/kate/data/wml.xml b/kate/data/wml.xml index e3ce172f2..433649c16 100644 --- a/kate/data/wml.xml +++ b/kate/data/wml.xml @@ -54,14 +54,14 @@ * Made the new #ifndef directive be recognized (implemented on Wesnoth 1.3.11 and later) --> -<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="1" +<language name="Wesnoth Markup Language" section="Markup" extensions="*.cfg;*.pbl;*.CFG;*.PBL" version="3" kateversion="2.3" casesensitive="true" author="Zachary Palmer (zep01@bahj.com), modif. by Ignacio Riquelme Morelle (shadowm2006@gmail.com) and Jonathan Schmidt-Dominé (devel@the-user.org)" license="GPL"> <highlighting> <list name="alerts_wml_utils"> - <item> wmllint</item> - <item> wmlindent</item> - <item> wmlscope</item> - <item> po</item> + <item>wmllint</item> + <item>wmlindent</item> + <item>wmlscope</item> + <item>po</item> </list> <list name="preprocessor_directive_statements"> <item>#textdomain</item> @@ -100,7 +100,7 @@ <!--<DetectChar char="[" attribute="WML Node" context="section" firstNonSpace="true" />--> <RegExpr String="\[(?!/)" attribute="WML Node" context="section" beginRegion="wml_node" /> - <RegExpr String="\[/" attribute="WML Node" context="section" endRegion="wml_node" /> + <Detect2Chars char="[" char1="/" attribute="WML Node" context="section" endRegion="wml_node" /> <RegExpr String="(\w|,| )+=" attribute="WML Attribute" context="value" lookAhead="true" /> @@ -116,12 +116,12 @@ </context> <context attribute="String" name="luastring" lineEndContext="#stay"> - <RegExpr String=">>" attribute="String" context="#pop" endRegion="wml_lua" /> + <Detect2Chars char=">" char1=">" attribute="String" context="#pop" endRegion="wml_lua" /> <IncludeRules context="##Lua" includeAttrib="true"/> </context> <context attribute="Macro String" name="luamacrostring" lineEndContext="#stay"> - <RegExpr String=">>" attribute="Macro String" context="#pop" endRegion="wml_lua" /> + <Detect2Chars char=">" char1=">" attribute="Macro String" context="#pop" endRegion="wml_lua" /> <IncludeRules context="##Lua" includeAttrib="true"/> </context> @@ -187,7 +187,6 @@ </contexts> <itemDatas> <itemData name="Normal WML Text" defStyleNum="dsNormal" /> - <itemData name="Normal Text" defStyleNum="dsString" /> <!--For Pango--> <itemData name="Maintenance script statement" defStyleNum="dsAlert"/> <itemData name="String" defStyleNum="dsString" /> <itemData name="Comment" defStyleNum="dsComment" /> |