blob: d8225bc44cdcc352947267782dcd269a613e9ad0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!--
This is a template for the XML format used for syntax highlight descriptions
for the Kate text editor, which is part of the Trinity Desktop Environment.
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.
-->
<language name="ASN.1" section="Markup" version="3-1" 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</item>
<item>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>
|