summaryrefslogtreecommitdiffstats
path: root/kate/data/sisu.xml
diff options
context:
space:
mode:
Diffstat (limited to 'kate/data/sisu.xml')
-rw-r--r--kate/data/sisu.xml173
1 files changed, 85 insertions, 88 deletions
diff --git a/kate/data/sisu.xml b/kate/data/sisu.xml
index 8c8ba56f0..837685557 100644
--- a/kate/data/sisu.xml
+++ b/kate/data/sisu.xml
@@ -1,10 +1,10 @@
<?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 (ralph.amissah@gmail.com)" license="LGPL" >
+<language name="SiSU" version="5" section="Markup" kateversion="2.4" extensions="*.sst;*.ssm;*.ssi;*._sst;*.-sst;" author="Ralph Amissah (ralph.amissah@gmail.com)" license="LGPL" >
<highlighting>
<list name="somename">
- <item> class </item>
- <item> const </item>
+ <item>class</item>
+ <item>const</item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" >
@@ -12,119 +12,118 @@
<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"/>
+ <Detect2Chars char="~" char1="{" attribute="Endnote" context="footnote"/>
+ <Detect2Chars char="^" char1="~" attribute="Endnote" context="endnote"/>
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="~" char1="^" 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"/>
+ <Detect2Chars char="}" char1="~" attribute="Endnote" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="*" attribute="Bold" context="#pop" />
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="!" attribute="Bold" context="#pop" />
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="/" attribute="Italic" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="_" attribute="Underscore" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="^" attribute="Superscript" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars attribute="Subscript" context="#pop" char="}" char1="," />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="-" char1="{" attribute="Strike" context="strike"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="-" attribute="Strike" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="+" char1="{" 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"/>
+ <Detect2Chars char="}" char1="+" attribute="Insert" context="#pop" />
+ <Detect2Chars char="!" char1="{" attribute="Bold" context="emphasis"/>
+ <Detect2Chars char="*" char1="{" attribute="Bold" context="bold"/>
+ <Detect2Chars char="/" char1="{" attribute="Italic" context="italic"/>
+ <Detect2Chars char="_" char1="{" attribute="Underscore" context="underscore"/>
+ <Detect2Chars char="^" char1="{" attribute="Superscript" context="superscript"/>
+ <Detect2Chars char="," char1="{" attribute="Subscript" context="subscript"/>
+ <Detect2Chars char="-" char1="{" 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" />
@@ -142,10 +141,8 @@
<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>