summaryrefslogtreecommitdiffstats
path: root/kate/data/wml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kate/data/wml.xml')
-rw-r--r--kate/data/wml.xml17
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="&gt;&gt;" attribute="String" context="#pop" endRegion="wml_lua" />
+ <Detect2Chars char="&gt;" char1="&gt;" attribute="String" context="#pop" endRegion="wml_lua" />
<IncludeRules context="##Lua" includeAttrib="true"/>
</context>
<context attribute="Macro String" name="luamacrostring" lineEndContext="#stay">
- <RegExpr String="&gt;&gt;" attribute="Macro String" context="#pop" endRegion="wml_lua" />
+ <Detect2Chars char="&gt;" char1="&gt;" 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" />