summaryrefslogtreecommitdiffstats
path: root/kate/data/asn1.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/asn1.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/asn1.xml')
-rw-r--r--kate/data/asn1.xml69
1 files changed, 69 insertions, 0 deletions
diff --git a/kate/data/asn1.xml b/kate/data/asn1.xml
new file mode 100644
index 000000000..e3cc6f4d5
--- /dev/null
+++ b/kate/data/asn1.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<!--
+ You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
+ This is a template for the XML format used for syntax highlight descriptions
+ for the Kate text editor (http://kate.kde.org), which is part of the KDE
+ desktop environment (http://www.kde.org).
+
+ Use it as the base for your own syntax files.
+
+ Look at language.dtd for some documentation of the allowed elements and their attributes.
+ There is also a description of how to validate your syntax file.
+
+ You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php
+-->
+<language name="ASN.1" section="Markup" version="1.00" kateversion="2.3" extensions="*.asn*.asn1" mimetype="" author="Philippe Rigault" license="GPL">
+ <highlighting>
+ <list name="keywords">
+ <item> DEFINITIONS </item>
+ <item> BEGIN </item>
+ <item> END </item>
+ <item> EXPORTS </item>
+ <item> IMPORTS </item>
+ <item> FROM </item>
+ <item> APPLICATION </item>
+ <item> PRIVATE </item>
+ <item> UNIVERSAL </item>
+ <item> DEFAULT </item>
+ <item> OPTIONAL </item>
+ <item> FALSE </item>
+ <item> TRUE </item>
+ </list>
+ <list name="types">
+ <item> BOOLEAN </item>
+ <item> INTEGER </item>
+ <item> OCTET STRING </item>
+ <item> NULL </item>
+ <item> REAL </item>
+ <item> ENUMERATED </item>
+ <item> SEQUENCE </item>
+ <item> SET </item>
+ <item> CHOICE </item>
+ <item> OF </item>
+ <item> VisibleString </item>
+ <item> StringStore </item>
+ </list>
+
+ <contexts>
+ <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay">
+ <keyword attribute="Keyword" context="#stay" String="keywords" />
+ <keyword attribute="Data Type" context="#stay" String="types" />
+ <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-"/>
+ </context>
+
+ <context attribute="Comment" lineEndContext="#pop" name="Comment">
+ </context>
+ </contexts>
+
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal"/>
+ <itemData name="Keyword" defStyleNum="dsKeyword"/>
+ <itemData name="Comment" defStyleNum="dsComment"/>
+ <itemData name="Data Type" defStyleNum="dsDataType"/>
+ </itemDatas>
+ </highlighting>
+</language>
+<!--
+// kate: space-indent on; indent-width 2; replace-tabs on;
+-->