summaryrefslogtreecommitdiffstats
path: root/kate/data/ada.xml
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-02 09:20:27 +0000
commitd7b9791584eda0f022813fd2b2df50f59eba29c5 (patch)
tree395d2d48909ce6f9e002106d1638610f7a7c8321 /kate/data/ada.xml
parent84bbc54a086fc6894b247488bf62bdff04dd55fa (diff)
downloadtdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.tar.gz
tdelibs-d7b9791584eda0f022813fd2b2df50f59eba29c5.zip
Added remaining missing Kate xml files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1068844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/data/ada.xml')
-rw-r--r--kate/data/ada.xml24
1 files changed, 13 insertions, 11 deletions
diff --git a/kate/data/ada.xml b/kate/data/ada.xml
index 830c5cbd2..9bc6b7633 100644
--- a/kate/data/ada.xml
+++ b/kate/data/ada.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
-<language name="Ada" version="1.06" kateversion="2.4" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc">
+<language name="Ada" version="1.07" kateversion="2.4" section="Sources" extensions="*.adb;*.ads;*.ada;*.a" mimetype="text/x-adasrc">
<highlighting>
<list name="keywords">
<item> abort </item>
@@ -141,16 +141,18 @@
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Default">
- <RegExpr attribute="Keyword" context="#stay" String="if " insensitive="TRUE" beginRegion="Region1" firstNonSpace="true"/>
- <StringDetect attribute="Keyword" context="#stay" String="end if" insensitive="TRUE" endRegion="Region1"/>
- <RegExpr attribute="Keyword" context="#stay" String="\sloop\s+" insensitive="TRUE" beginRegion="Region3"/>
- <RegExpr attribute="Keyword" context="#stay" String="\sloop$" insensitive="TRUE" beginRegion="Region3"/>
- <StringDetect attribute="Keyword" context="#stay" String="end loop;" insensitive="TRUE" endRegion="Region3"/>
- <RegExpr attribute="Keyword" context="#stay" String="\sselect\s+" insensitive="TRUE" beginRegion="Region4"/>
- <RegExpr attribute="Keyword" context="#stay" String="\sselect$" insensitive="TRUE" beginRegion="Region4"/>
- <StringDetect attribute="Keyword" context="#stay" String="end select;" insensitive="TRUE" endRegion="Region4"/>
- <RegExpr attribute="Keyword" context="#stay" String="\b(begin|case|record)\b" insensitive="true" beginRegion="Region5"/>
- <RegExpr attribute="Keyword" context="#stay" String="\bend(?=((\{[^}]*(\}|$)|\(\*.*(\*\)|$))*)([.;\s]|$)|//|$)" insensitive="true" endRegion="Region5"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\brecord\b" insensitive="true" beginRegion="RecordRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\s+record\b" insensitive="true" endRegion="RecordRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bcase\b" insensitive="true" beginRegion="CaseRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\s+case\b" insensitive="true" endRegion="CaseRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bif\b" insensitive="true" beginRegion="IfRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\s+if\b" insensitive="true" endRegion="IfRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bloop\b" insensitive="true" beginRegion="LoopRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\s+loop\b" insensitive="true" endRegion="LoopRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bselect\b" insensitive="true" beginRegion="SelectRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\s+select\b" insensitive="true" endRegion="SelectRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bbegin\b" insensitive="true" beginRegion="BeginRegion"/>
+ <RegExpr attribute="Keyword" context="#stay" String="\bend\b" insensitive="true" endRegion="BeginRegion"/>
<StringDetect attribute="Region Marker" context="Region Marker" String="-- BEGIN" beginRegion="RegionMarker" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="-- END" endRegion="RegionMarker" firstNonSpace="true" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>