summaryrefslogtreecommitdiffstats
path: root/kate/data/sisu.xml
blob: 8c8ba56f0e7c51391ca8c82471fa401d8a107fb1 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="SiSU" version="2" section="Markup" kateversion="2.4" extensions="*.sst;*.ssm;*.ssi;*._sst;*.-sst;" author="Ralph Amissah ([email protected])" license="LGPL" >
  <highlighting>
    <list name="somename">
      <item> class </item>
      <item> const </item>
    </list>
    <contexts>
    <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
      <keyword attribute="Keyword" context="#stay" String="somename" />
      <DetectChar attribute="String" context="string" char="&quot;" />
      <RegExpr String="^(0~\S+|@\S+)\s.+$" attribute="Header" context="#pop" />
      <RegExpr String="^:?[A-C1-6]~.+$" attribute="Heading" context="#pop" />
      <StringDetect String="~{" attribute="Endnote" context="footnote"/>
      <StringDetect String="^~" attribute="Endnote" context="endnote"/>
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
      <StringDetect String="&lt;br&gt;" attribute="Break" context="#pop" />
      <RegExpr String="\{.+?\}(http:\/\/\S+|image)" attribute="Link" context="#stay"/>
      <RegExpr String="(^|\s)http:\/\/\S+" attribute="Link" context="#stay"/>
      <RegExpr String="^!_ .+" attribute="Bold" context="boldline"/>
      <RegExpr String="^(_[12]|_\*|_[12]\*)\s" attribute="Indent" context="#stay"/>
      <RegExpr String="~\^" attribute="Endnote" context="#stay"/>
      <RegExpr String="^%+\s.+$" attribute="Comment" context="#stay" endRegion="regionMarker" firstNonSpace="true" />
    </context>
    <context attribute="String" lineEndContext="#stay" name="string" >
      <DetectChar attribute="String" context="#pop" char="&quot;" />
    </context>
    <context attribute="Endnote" lineEndContext="#stay" name="footnote" >
      <StringDetect attribute="Endnote" context="#pop" String="}~" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Bold" lineEndContext="#stay" name="bold" >
      <StringDetect attribute="Bold" context="#pop" String="}*" />
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Bold" lineEndContext="#stay" name="emphasis" >
      <StringDetect attribute="Bold" context="#pop" String="}!" />
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Italic" lineEndContext="#stay" name="italic" >
      <StringDetect attribute="Italic" context="#pop" String="}/" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Underscore" lineEndContext="#stay" name="underscore" >
      <StringDetect attribute="Underscore" context="#pop" String="}_" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Superscript" lineEndContext="#stay" name="superscript" >
      <StringDetect attribute="Superscript" context="#pop" String="}^" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Subscript" lineEndContext="#stay" name="subscript" >
      <StringDetect attribute="Subscript" context="#pop" String="}," />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Strike" lineEndContext="#stay" name="strike" >
      <StringDetect attribute="Strike" context="#pop" String="}-" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="+{" attribute="Insert" context="insert"/>
    </context>
    <context attribute="Insert" lineEndContext="#stay" name="insert" >
      <StringDetect attribute="Insert" context="#pop" String="}+" />
      <StringDetect String="!{" attribute="Bold" context="emphasis"/>
      <StringDetect String="*{" attribute="Bold" context="bold"/>
      <StringDetect String="/{" attribute="Italic" context="italic"/>
      <StringDetect String="_{" attribute="Underscore" context="underscore"/>
      <StringDetect String="^{" attribute="Superscript" context="superscript"/>
      <StringDetect String=",{" attribute="Subscript" context="subscript"/>
      <StringDetect String="-{" attribute="Strike" context="strike"/>
    </context>
    <context attribute="Endnote" lineEndContext="#pop" name="endnote" />
    <context attribute="Bold" lineEndContext="#pop" name="boldline" />
    <context attribute="Indent" lineEndContext="#pop" name="indent" />
    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal" />
      <itemData name="Header" defStyleNum="dsNormal" color="#1c869b" selColor="#60FFFF" bold="0" italic="0"/>
      <itemData name="Heading" defStyleNum="dsNormal" color="#ff0000" selColor="#60FFFF" bold="1" italic="0"/>
      <itemData name="Bold" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="1" italic="0"/>
      <itemData name="Italic" defStyleNum="dsNormal" color="#800000" selColor="#60FFFF" bold="0" italic="1"/>
      <itemData name="Underscore" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Superscript" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Subscript" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Strike" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Insert" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Keyword" defStyleNum="dsKeyword" />
      <itemData name="Endnote" defStyleNum="dsNormal" color="#086800" selColor="#60FFFF" bold="0" italic="0"/>
      <itemData name="Link" defStyleNum="dsNormal" color="#0000FF" selColor="#60FFFF" bold="0" italic="0"/>
      <itemData name="String" defStyleNum="dsString" />
      <itemData name="Comment" defStyleNum="dsComment"/>
      <itemData name="Group" defStyleNum="dsRegionMarker"/>
      <itemData name="Break" defStyleNum="dsNormal" color="#FF0000" selColor="#60FFFF" bold="0" italic="0"/>
      <itemData name="Indent" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
      <itemData name="Structure" defStyleNum="dsNormal" color="#F00000" selColor="#80FFD0" bold="0" italic="0"/>
    </itemDatas>
  </highlighting>  
  <general>
    <keywords weakDeliminator="\" wordWrapDeliminator=",{}[]"/>
    <comments>
      <comment name="singleLine" start="%" />
    </comments>
  </general>
</language>