diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-11 16:14:23 -0600 |
commit | 7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch) | |
tree | 3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/txt2tags.xml | |
parent | 783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff) | |
download | tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip |
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/txt2tags.xml')
-rw-r--r-- | kate/data/txt2tags.xml | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/kate/data/txt2tags.xml b/kate/data/txt2tags.xml index 61dc77e62..581f469f6 100644 --- a/kate/data/txt2tags.xml +++ b/kate/data/txt2tags.xml @@ -2,29 +2,32 @@ <!DOCTYPE language SYSTEM "language.dtd"> <!-- Created by Juliano Dorneles dos Santos <juliano_dorneles@yahoo.com.br> --> <!-- Fixed for 3.2 Helio Chissini de Castro <helio@kde.org> --> -<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.01" kateversion="2.4" casesensitive="1"> +<!-- Extended and adapted (v1.20) by Eric Forgeot < http://esclinux.tk > --> +<language name="txt2tags" extensions="*.t2t" section="Markup" mimetype="text/txt2tags" version="1.20" kateversion="2.4" casesensitive="1"> <highlighting> <contexts> <context name="Context" attribute="Normal" lineEndContext="#stay"> <RegExpr attribute="Date" context="Context" String="%%date(\(.*\))?"/> <RegExpr attribute="Comment" context="Context" String="%.*"/> - <RegExpr attribute="Bold" context="Context" String="\*\*.*\*\*"/> - <RegExpr attribute="Italic" context="Context" String="//.*//"/> - <RegExpr attribute="BoldItalic" context="Context" String="\*\*//.*//\*\*"/> - <RegExpr attribute="BoldItalic" context="Context" String="__.*__"/> - <RegExpr attribute="Monospaced" context="Context" String="``.*``"/> + <RegExpr attribute="BoldItalic" context="Context" String="\*\*//(.*)//\*\*" minimal="true"/> + <RegExpr attribute="BoldItalic" context="Context" String="//\*\*(.*)\*\*//" minimal="true" /> + <RegExpr attribute="Bold" context="Context" String="\*\*.*\*\*" minimal="true"/> + <RegExpr attribute="Italic" context="Context" String="//.*//" minimal="true"/> + <RegExpr attribute="Underline" context="Context" String="__.*__" minimal="true"/> + <RegExpr attribute="Strikeout" context="Context" String="--.*--" minimal="true"/> + <RegExpr attribute="Monospaced" context="Context" String="``.*``" minimal="true"/> <RegExpr attribute="Verbatim Line" context="Context" String="``` .*"/> - <RegExpr attribute="Title" context="Context" String=" *=[^=].*[^=]=\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *==[^=].*[^=]==\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *===[^=].*[^=]===\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *====[^=].*[^=]====\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *=====[^=].*[^=]=====\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *\+[^=].*[^=]\+\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *\+\+[^=].*[^=]\+\+\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *\+\+\+[^=].*[^=]\+\+\+\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+[^=].*[^=]\+\+\+\+\s*$" column="0"/> - <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+\+[^=].*[^=]\+\+\+\+\+\s*$" column="0"/> + <RegExpr attribute="Title" context="Context" String=" *=[^=].*[^=]=(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *==[^=].*[^=]==(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *===[^=].*[^=]===(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *====[^=].*[^=]====(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *=====[^=].*[^=]=====(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *\+[^=].*[^=]\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+[^=].*[^=]\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+[^=].*[^=]\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+[^=].*[^=]\+\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> + <RegExpr attribute="Title" context="Context" String=" *\+\+\+\+\+[^=].*[^=]\+\+\+\+\+(\[.*\])?\s*$" column="0" beginRegion="Header" endRegion="Header"/> <RangeDetect attribute="Link" char="[" char1="]"/> <RegExpr attribute="Tabel" context="Context" String=" *\|\| .*" column="0"/> <RegExpr attribute="Tabel" context="Context" String=" *\| .*" column="0"/> @@ -33,6 +36,7 @@ <RegExpr attribute="NumList" context="Context" String=" *\+ .*" column="0"/> <RegExpr attribute="Quote" context="Context" String="\t.*"/> <RegExpr attribute="Bar" context="Context" String="\s*([_=-]{20,})\s*$"/> + <RegExpr attribute="EOF" context="Context" String="$$" column="0" beginRegion="Header" endRegion="Header"/> </context> </contexts> @@ -40,18 +44,20 @@ <itemData name="Normal" defStyleNum="dsNormal" /> <itemData name="Date" defStyleNum="dsNormal" color="#FF0000" italic="1" /> <itemData name="Comment" defStyleNum="dsNormal" color="#666666" italic="1" /> - <itemData name="Bold" defStyleNum="dsNormal" bold="1" /> - <itemData name="Italic" defStyleNum="dsNormal" italic="1" /> <itemData name="BoldItalic" defStyleNum="dsNormal" bold="1" italic="1" /> + <itemData name="Bold" defStyleNum="dsNormal" color="#445675" bold="1" /> + <itemData name="Italic" defStyleNum="dsNormal" color="#653A39" italic="1" /> + <itemData name="Underline" defStyleNum="dsNormal" color="#386742" underline="1" /> + <itemData name="Strikeout" defStyleNum="dsNormal" color="#644A9B" strikeOut="1" /> <itemData name="Monospaced" defStyleNum="dsNormal" color="#006600" /> <itemData name="Verbatim Line" defStyleNum="dsNormal" color="#006600" /> <itemData name="Verbatim Area" defStyleNum="dsNormal" color="#006600" /> <itemData name="Title" defStyleNum="dsNormal" color="#990000" /> - <itemData name="Link" defStyleNum="dsNormal" color="#000099" /> + <itemData name="Link" defStyleNum="dsNormal" color="#0930DE" /> <itemData name="Tabel" defStyleNum="dsNormal" color="#FF0000" /> - <itemData name="DefList" defStyleNum="dsNormal" color="#FFCC66" /> - <itemData name="List" defStyleNum="dsNormal" color="#FFCC66" /> - <itemData name="NumList" defStyleNum="dsNormal" color="#FFCC66" /> + <itemData name="DefList" defStyleNum="dsNormal" color="#E300EE" /> + <itemData name="List" defStyleNum="dsNormal" color="#E300EE" /> + <itemData name="NumList" defStyleNum="dsNormal" color="#E300EE" /> <itemData name="Quote" defStyleNum="dsNormal" color="brown" /> <itemData name="Bar" defStyleNum="dsNormal" color="#C0C0C0" /> </itemDatas> |