Warning, /frameworks/syntax-highlighting/data/syntax/rtf.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <!DOCTYPE language [ <!ENTITY number "([-]?\d+)"> ] > 0003 <language name="Rich Text Format" version="3" kateversion="2.4" section="Markup" extensions="*.rtf" mimetype="text/rtf;application/rtf" author="Lukas Sommer" license="LGPL version 2.1, or version 3 or later versions approved by the membership of KDE e.V.; or any other license appoved by the emembership of KDE e.V."> 0004 0005 <highlighting> 0006 0007 <contexts> 0008 0009 <context attribute="Text" lineEndContext="#stay" name="context_normal"> 0010 <DetectChar char="{" attribute="Braces" beginRegion="true" /> 0011 <DetectChar char="}" attribute="Braces" endRegion="true" /> 0012 <DetectChar char="\" lookAhead="true" context="context_process_backslash" /> 0013 </context> 0014 0015 <context lineEndContext="context_normal" fallthrough="true" fallthroughContext="context_normal" attribute="Numeric parameter" name="context_process_backslash"> 0016 <Detect2Chars char="\" char1="|" attribute="Control words" /> 0017 <Detect2Chars char="\" char1="~" attribute="Character" /> 0018 <Detect2Chars char="\" char1="-" attribute="Character" /> 0019 <Detect2Chars char="\" char1="_" attribute="Character" /> 0020 <Detect2Chars char="\" char1=":" attribute="Control words" /> 0021 <Detect2Chars char="\" char1="*" attribute="Control words" /> 0022 <Detect2Chars char="\" char1="\" attribute="Character" /> 0023 <Detect2Chars char="\" char1="{" attribute="Character" /> 0024 <Detect2Chars char="\" char1="}" attribute="Character" /> 0025 <RegExpr String="\\u&number;|\\'[01-9a-f]{2}" attribute="Character"/> 0026 <RegExpr String="\\[a-zA-Z]+" attribute="Control words" context="context_functionparameter" /> 0027 <DetectChar char="\" attribute="Error" /> 0028 </context> 0029 0030 <context attribute="Control words" lineEndContext="context_normal" fallthrough="true" fallthroughContext="context_normal" name="context_functionparameter"> 0031 <RegExpr String="[-]?\d+" attribute="Numeric parameter" context="context_normal" /> 0032 <DetectChar char="-" attribute="Error" /> 0033 </context> 0034 0035 </contexts> 0036 0037 <itemDatas> 0038 <itemData name="Text" defStyleNum="dsString"/> 0039 <itemData name="Character" defStyleNum="dsChar"/> 0040 <itemData name="Braces" defStyleNum="dsKeyword"/> 0041 <itemData name="Control words" defStyleNum="dsFunction"/> 0042 <itemData name="Numeric parameter" defStyleNum="dsDecVal"/> 0043 <itemData name="Error" defStyleNum="dsError"/> 0044 </itemDatas> 0045 0046 </highlighting> 0047 0048 </language>