summaryrefslogtreecommitdiffstats
path: root/kate/data/modelica.xml
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-09 00:24:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-09 00:24:34 +0100
commitbf4e405e03859bf383f55715944f4f71bd338c34 (patch)
tree293783d05c079b477b9ef396bbd851ca01714e2d /kate/data/modelica.xml
parentc5189a79b8621b38b53e3cec952d49630e16dd3a (diff)
downloadtdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz
tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip
Update kate syntax highlight files
Diffstat (limited to 'kate/data/modelica.xml')
-rw-r--r--kate/data/modelica.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/data/modelica.xml b/kate/data/modelica.xml
index 49145261d..81e6ad20c 100644
--- a/kate/data/modelica.xml
+++ b/kate/data/modelica.xml
@@ -2,7 +2,7 @@
<!DOCTYPE language SYSTEM "language.dtd">
<!--
====================================================================
- Modelica syntax highlighting file for the KDE editors Kate and Kwrite
+ Modelica syntax highlighting file for the TDE editors Kate and Kwrite
====================================================================
Based on Modelica 3.0, available at the following link:
http://www.modelica.org/documents/ModelicaSpec30.pdf
@@ -16,7 +16,7 @@
-->
-<language name="Modelica" version="3.1" kateversion="2.0" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" >
+<language name="Modelica" version="3.3" kateversion="2.5" casesensitive="1" section="Sources" extensions="*.mo" author="Federico Zenith" >
<highlighting>
<!-- Classes in Modelica can be called different names; "class" is the
@@ -188,7 +188,7 @@
</list>
<contexts>
- <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >
+ <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
<RegExpr attribute="Keyword" String="\bend\s+(for|while|loop)\b" endRegion="loopBlock"/>
<RegExpr attribute="Keyword" String="\bloop\b" beginRegion="loopBlock"/>
<RegExpr attribute="Keyword" String="\bend\s+(if|when)\b" endRegion="thenBlock"/>