~ubuntu-branches/ubuntu/vivid/kate/vivid-updates

« back to all changes in this revision

Viewing changes to part/syntax/data/txt2tags.xml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-12-04 16:49:41 UTC
  • mfrom: (1.6.6)
  • Revision ID: package-import@ubuntu.com-20141204164941-l3qbvsly83hhlw2v
Tags: 4:14.11.97-0ubuntu1
* New upstream release
* Update build-deps and use pkg-kde v3 for Qt 5 build
* kate-data now kate5-data for co-installability

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
<!DOCTYPE language SYSTEM "language.dtd">
3
 
<!-- Created by Juliano Dorneles dos Santos <juliano_dorneles@yahoo.com.br> -->
4
 
<!-- Fixed for 3.2 Helio Chissini de Castro <helio@kde.org> -->
5
 
<!-- Extended and adapted (v1.20) by Eric Forgeot < http://esclinux.tk > -->
6
 
<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.20" kateversion="2.4" casesensitive="1">
7
 
<highlighting>
8
 
 
9
 
<contexts>
10
 
        <context name="Context" attribute="Normal" lineEndContext="#stay">
11
 
                <RegExpr attribute="Date" context="Context" String="%%date(\(.*\))?"/>
12
 
                <RegExpr attribute="Comment" context="Context" String="%.*"/>
13
 
                <RegExpr attribute="BoldItalic" context="Context" String="\*\*//(.*)//\*\*" minimal="true"/>
14
 
                <RegExpr attribute="BoldItalic" context="Context" String="//\*\*(.*)\*\*//" minimal="true" />
15
 
                <RegExpr attribute="Bold" context="Context" String="\*\*.*\*\*" minimal="true"/>
16
 
                <RegExpr attribute="Italic" context="Context" String="//.*//" minimal="true"/>
17
 
                <RegExpr attribute="Underline" context="Context" String="__.*__" minimal="true"/>
18
 
                <RegExpr attribute="Strikeout" context="Context" String="--.*--" minimal="true"/>
19
 
                <RegExpr attribute="Monospaced" context="Context" String="``.*``" minimal="true"/>
20
 
                <RegExpr attribute="Verbatim Line" context="Context" String="``` .*"/>
21
 
                <RegExpr attribute="Title" context="Context" String=" *=[^=].*[^=]=(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
22
 
                <RegExpr attribute="Title" context="Context" String=" *==[^=].*[^=]==(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
23
 
                <RegExpr attribute="Title" context="Context" String=" *===[^=].*[^=]===(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
24
 
                <RegExpr attribute="Title" context="Context" String=" *====[^=].*[^=]====(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
25
 
                <RegExpr attribute="Title" context="Context" String=" *=====[^=].*[^=]=====(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
26
 
                <RegExpr attribute="Title" context="Context" String=" *\+[^=].*[^=]\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
27
 
                <RegExpr attribute="Title" context="Context" String=" *\+\+[^=].*[^=]\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
28
 
                <RegExpr attribute="Title" context="Context" String=" *\+\+\+[^=].*[^=]\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
29
 
                <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+[^=].*[^=]\+\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
30
 
                <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+\+[^=].*[^=]\+\+\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/>
31
 
                <RangeDetect attribute="Link" char="[" char1="]"/>
32
 
                <RegExpr attribute="Tabel" context="Context" String=" *\|\| .*" column="0"/>
33
 
                <RegExpr attribute="Tabel" context="Context" String=" *\| .*" column="0"/>
34
 
                <RegExpr attribute="DefList" context="Context" String=" *\: .*" column="0"/>
35
 
                <RegExpr attribute="List" context="Context" String=" *\- .*" column="0"/>
36
 
                <RegExpr attribute="NumList" context="Context" String=" *\+ .*" column="0"/>
37
 
                <RegExpr attribute="Quote" context="Context" String="\t.*"/>
38
 
                <RegExpr attribute="Bar" context="Context" String="\s*([_=-]{20,})\s*$"/>
39
 
                <RegExpr attribute="EOF" context="Context" String="$$" column="0" beginRegion="Header" endRegion="Header"/>
40
 
        </context>
41
 
</contexts>
42
 
 
43
 
<itemDatas>
44
 
        <itemData name="Normal" defStyleNum="dsNormal" />
45
 
        <itemData name="Date" defStyleNum="dsNormal" color="#FF0000" italic="1" />
46
 
        <itemData name="Comment" defStyleNum="dsNormal" color="#666666" italic="1" />
47
 
        <itemData name="BoldItalic" defStyleNum="dsNormal" bold="1" italic="1" />
48
 
        <itemData name="Bold" defStyleNum="dsNormal" color="#445675" bold="1" />
49
 
        <itemData name="Italic" defStyleNum="dsNormal" color="#653A39" italic="1" />
50
 
        <itemData name="Underline" defStyleNum="dsNormal" color="#386742" underline="1" />
51
 
        <itemData name="Strikeout" defStyleNum="dsNormal" color="#644A9B" strikeOut="1" />
52
 
        <itemData name="Monospaced" defStyleNum="dsNormal" color="#006600" />
53
 
        <itemData name="Verbatim Line" defStyleNum="dsNormal" color="#006600" />
54
 
        <itemData name="Verbatim Area" defStyleNum="dsNormal" color="#006600" />
55
 
        <itemData name="Title" defStyleNum="dsNormal" color="#990000" />
56
 
        <itemData name="Link" defStyleNum="dsNormal" color="#0930DE" />
57
 
        <itemData name="Tabel" defStyleNum="dsNormal" color="#FF0000" />
58
 
        <itemData name="DefList" defStyleNum="dsNormal" color="#E300EE" />
59
 
        <itemData name="List" defStyleNum="dsNormal" color="#E300EE" />
60
 
        <itemData name="NumList" defStyleNum="dsNormal" color="#E300EE" />
61
 
        <itemData name="Quote" defStyleNum="dsNormal" color="brown" />
62
 
        <itemData name="Bar" defStyleNum="dsNormal" color="#C0C0C0" />
63
 
</itemDatas>
64
 
 
65
 
</highlighting>
66
 
 
67
 
</language>