summaryrefslogtreecommitdiffstats
path: root/kate/data/modelica.xml
diff options
context:
space:
mode:
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"/>