Warning, /frameworks/syntax-highlighting/data/syntax/ftl.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <!DOCTYPE language> 0003 <language name="FTL" version="6" kateversion="5.0" section="Markup" extensions="*.ftl" license="LGPLv2+" author="Radomir Svancer (svancer@gmail.com), Robert Kratky (kratky@rob.cz>), Matthias Mailänder (matthias.mailaender@vogella.com)"> 0004 <highlighting> 0005 <contexts> 0006 <context name="comment start" attribute="NormalText" lineEndContext="#stay"> 0007 <StringDetect attribute="Comment" context="comment end" String="<!--" beginRegion="Comment"/> 0008 <StringDetect attribute="FTLComment" context="comment ending" String="<#--" beginRegion="FTLComment"/> 0009 <RegExpr attribute="FTLKeyword" context="syntax start" String="<\s*\/?\s*[#@][a-zA-Z0-9_]*" /> 0010 <Detect2Chars attribute="FTLMark" context="variable end" char="$" char1="{" /> 0011 <RegExpr attribute="Keyword" context="logic end" String="<\s*\/?\s*[a-zA-Z0-9_]*" /> 0012 </context> 0013 0014 <context name="logic end" attribute="Identifier" lineEndContext="#stay"> 0015 <DetectChar attribute="Keyword" context="#pop" char=">"/> 0016 <RegExpr attribute="NormalText" context="logic" String="\s*=\s*"/> 0017 <StringDetect attribute="FTLComment" context="comment ending" String="<#--" beginRegion="FTLComment"/> 0018 <RegExpr attribute="FTLKeyword" context="syntax start" String="<\s*\/?\s*[#@][a-zA-Z0-9_]*" /> 0019 <Detect2Chars attribute="FTLMark" context="variable end" char="$" char1="{" /> 0020 </context> 0021 0022 <context name="logic" attribute="Types" lineEndContext="#stay"> 0023 <RegExpr attribute="Types" context="#pop" String="\s*#?[a-zA-Z0-9]*" /> 0024 <DetectChar attribute="Types" context="logic start" char=""" /> 0025 </context> 0026 0027 <context name="logic start" attribute="Types" lineEndContext="#stay"> 0028 <DetectChar attribute="Types" context="#pop#pop" char=""" /> 0029 <StringDetect attribute="FTLComment" context="comment ending" String="<#--" beginRegion="FTLComment"/> 0030 <RegExpr attribute="FTLKeyword" context="syntax start" String="<\s*\/?\s*[#@][a-zA-Z0-9_]*" /> 0031 <Detect2Chars attribute="FTLMark" context="variable end" char="$" char1="{" /> 0032 </context> 0033 0034 <context name="comment end" attribute="Comment" lineEndContext="#stay"> 0035 <DetectSpaces /> 0036 <StringDetect attribute="Comment" context="#pop" String="-->" endRegion="Comment"/> 0037 <StringDetect attribute="FTLComment" context="comment ending" String="<#--" beginRegion="FTLComment"/> 0038 <RegExpr attribute="FTLKeyword" context="syntax start" String="<\s*\/?\s*[#@][a-zA-Z0-9_]*" /> 0039 <Detect2Chars attribute="FTLMark" context="variable end" char="$" char1="{" /> 0040 <IncludeRules context="##Comments" /> 0041 </context> 0042 0043 <context name="comment ending" attribute="FTLComment" lineEndContext="#stay"> 0044 <StringDetect attribute="FTLComment" context="#pop" String="-->" endRegion="FTLComment"/> 0045 <DetectSpaces /> 0046 <IncludeRules context="##Comments" /> 0047 </context> 0048 0049 <context name="syntax start" attribute="FTLKeyword" lineEndContext="#stay"> 0050 <DetectChar attribute="FTLKeyword" context="#pop" char=">"/> 0051 <DetectChar attribute="FTLQuot" context="comment string" char=""" /> 0052 <DetectSpaces attribute="FTLIdentifier" context="syntax end"/> 0053 </context> 0054 0055 <context name="comment string" attribute="FTLQuot" lineEndContext="#stay"> 0056 <DetectChar attribute="FTLQuot" context="#pop#pop" char=""" /> 0057 </context> 0058 0059 <context name="syntax end" attribute="FTLIdentifier" lineEndContext="#stay"> 0060 <DetectChar attribute="FTLKeyword" context="#pop#pop" char=">"/> 0061 <DetectChar attribute="FTLQuot" context="comment string" char=""" /> 0062 </context> 0063 0064 <context name="variable end" attribute="FTLIdentifier" lineEndContext="#stay"> 0065 <DetectChar attribute="FTLMark" context="#pop" char="}"/> 0066 <DetectChar attribute="FTLQuot" context="comment string" char=""" /> 0067 </context> 0068 </contexts> 0069 <itemDatas> 0070 <itemData name="NormalText" defStyleNum="dsNormal"/> 0071 <itemData name="Keyword" defStyleNum="dsKeyword"/> 0072 <itemData name="Identifier" defStyleNum="dsOthers"/> 0073 <itemData name="Types" defStyleNum="dsDataType"/> 0074 <itemData name="Comment" defStyleNum="dsComment"/> 0075 <itemData name="FTLComment" defStyleNum="dsDocumentation" bold="0" italic="1"/> 0076 <itemData name="FTLKeyword" defStyleNum="dsKeyword" color="#0000cc" selColor="#00ff00" bold="1" italic="0"/> 0077 <itemData name="FTLQuot" defStyleNum="dsOthers" color="#ff0044" selColor="#00ff00" bold="0" italic="0"/> 0078 <itemData name="FTLIdentifier" defStyleNum="dsOthers" color="#0022bb" selColor="#00ff00" bold="0" italic="0"/> 0079 <itemData name="FTLMark" defStyleNum="dsOthers" color="#0000cc" selColor="#00ff00" bold="1" italic="1"/> 0080 </itemDatas> 0081 </highlighting> 0082 <general> 0083 <comments> 0084 <comment name="multiLine" start="<#--" end="-->" region="FTLComment" /> 0085 </comments> 0086 <keywords casesensitive="0" /> 0087 </general> 0088 </language> 0089 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->