diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-03 00:41:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-03-03 00:41:25 +0900 |
commit | bb647dca1516a45ce18f2e040bd20528f588e2fe (patch) | |
tree | 0fe5d9a19e884335a14fdf9741f772b2474df43e /kate/data/textile.xml | |
parent | a7e4c6b5e7916d924c2a9b75a10e427b556b8d65 (diff) | |
download | tdelibs-bb647dca1516a45ce18f2e040bd20528f588e2fe.tar.gz tdelibs-bb647dca1516a45ce18f2e040bd20528f588e2fe.zip |
Kate syntax highlighting files update - Feb 2014
Diffstat (limited to 'kate/data/textile.xml')
-rw-r--r-- | kate/data/textile.xml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kate/data/textile.xml b/kate/data/textile.xml index a0e2d5d1d..50aa58800 100644 --- a/kate/data/textile.xml +++ b/kate/data/textile.xml @@ -7,16 +7,16 @@ --> <!DOCTYPE language SYSTEM "language.dtd" - [ + [ <!ENTITY strongregex "(\s|^)\*[^*]\w.*\w[^*]\*(\s|\.|,|;|:|\-|\?|$)"> <!ENTITY strikeoutregex "(\s|^)-[^-]\w.*\w[^-]-(\s|\.|,|;|:|\-|\?|$)"> <!ENTITY blockattrsregex "(\(\w+(#\w+)?\))?"> <!ENTITY formatregex "(>|<|=|<>)?"> <!ENTITY name "(?![0-9])[\w_:][\w.:_-]*"> ]> - -<language section="Markup" name="Textile" - version="1.2" kateversion="2.5" + +<language section="Markup" name="Textile" + version="1.1" kateversion="2.4" extensions="*.textile" priority="15" author="Alexander Kabakov (kabakov.as@gmail.com)" license="LGPL" > @@ -25,45 +25,45 @@ <context attribute="Normal Text" lineEndContext="#stay" name="Normal Text" > <StringDetect attribute="comment" context="comment" String="<!--" beginRegion="comment" /> <RegExpr attribute="macro" String="\{\{&name;\}\}" /> - + <RegExpr context="sectiontitle_block" String="^h1" /> - <RegExpr context="sectionheader_block" String="^h2" /> + <RegExpr context="sectionheader_block" String="^h2" /> <RegExpr context="sectionheader_block" String="^h3" /> <RegExpr context="sectionheader_block" String="^h4" /> <RegExpr context="sectionheader_block" String="^h5" /> - + <RegExpr attribute="textblock" String="^p&blockattrsregex;&formatregex;\." /> <RegExpr attribute="textblock" String="^pre&blockattrsregex;&formatregex;\." /> <RegExpr attribute="textblock" String="^bq&blockattrsregex;&formatregex;\." /> <RegExpr attribute="textblock" String="^bc&blockattrsregex;&formatregex;\." /> <RegExpr context="image" String="!"/> - + <IncludeRules context="inc" /> <RegExpr attribute="itemlist" String="^[\*\#]+\s" /> <RegExpr attribute="htmllink" String='".*":http(s)?:[\w_/\\\d\.%\?&=-]*' /> </context> - + <context name="image" lineEndContext="#pop" attribute="image"> <RegExpr String="&blockattrsregex;" attribute="blockattrs" /> <RegExpr String="\w+\.(png|jpg|jpeg|gif|bmp)" attribute="imagefilename" /> <DetectChar char="!" context="#pop" attribute="image"/> </context> - + <context name="sectiontitle_block" lineEndContext="#pop" attribute="sectiontitle"> <RegExpr String="&blockattrsregex;" attribute="sectionblockattrs" /> </context> - + <context name="sectionheader_block" lineEndContext="#pop" attribute="sectionheader"> <RegExpr String="&blockattrsregex;" attribute="sectionblockattrs" /> </context> - + <context name="comment" attribute="comment" lineEndContext="#stay"> <DetectSpaces/> <DetectIdentifier/> <StringDetect attribute="comment" context="#pop" String="-->" endRegion="comment" /> </context> - + <context attribute="common" name="inc" lineEndContext="#stay" > <RegExpr attribute="strong" String="&strongregex;" /> <RegExpr attribute="strikeout" minimal="true" String="&strikeoutregex;"/> @@ -72,21 +72,21 @@ <itemDatas> <itemData name="Normal Text" defStyleNum="dsNormal" /> - + <itemData name="sectiontitle" defStyleNum="dsKeyword" bold="true" /> <itemData name="sectionheader" defStyleNum="dsFunction" bold="true" /> <itemData name="sectionblockattrs" defStyleNum="dsComment" bold="true"/> <itemData name="blockattrs" defStyleNum="dsComment" /> <itemData name="textblock" defStyleNum="dsComment" /> - + <itemData name="strong" defStyleNum="dsNormal" bold="true" /> <itemData name="strikeout" defStyleNum="dsNormal" strikeOut="true" /> - + <itemData name="itemlist" defStyleNum="dsDataType" /> - + <itemData name="macro" defStyleNum="dsComment" bold="true"/> <itemData name="comment" defStyleNum="dsComment" /> - + <itemData name="image" defStyleNum="dsFloat" /> <itemData name="imagefilename" defStyleNum="dsKeyword" /> <itemData name="htmllink" defStyleNum="dsDataType" /> |