Warning, /frameworks/syntax-highlighting/data/syntax/sass.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <!DOCTYPE language
0003 [
0004   <!-- https://www.w3.org/TR/CSS22/syndata.html#tokenization -->
0005   <!ENTITY nmstart "[_a-zA-Z]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
0006   <!ENTITY nmchar  "[_a-zA-Z0-9-]|(\\[0-9a-fA-F]{1,6})|(\\[^\n\r\f0-9a-fA-F])">
0007 ]>
0008 
0009 <language name="SASS" version="8" kateversion="5.79" section="Markup" extensions="*.sass" indenter="cstyle" mimetype="text/css" author="Jonathan Poelen (jonathan.poelen@gmail.com)" license="MIT" priority="5">
0010 
0011     <highlighting>
0012         <list name="properties"><include>properties##SCSS</include></list>
0013         <list name="vendor properties"><include>vendor properties##SCSS</include></list>
0014         <list name="sub-properties"><include>sub-properties##SCSS</include></list>
0015         <list name="special values"><include>special values##SCSS</include></list>
0016         <list name="value keywords"><include>value keywords##SCSS</include></list>
0017         <list name="values"><include>values##SCSS</include></list>
0018         <list name="colors"><include>colors##SCSS</include></list>
0019         <list name="functions"><include>functions##SCSS</include></list>
0020         <list name="media types"><include>media types##SCSS</include></list>
0021         <list name="media features"><include>media features##SCSS</include></list>
0022         <list name="pseudo-elements"><include>pseudo-elements##SCSS</include></list>
0023         <list name="pseudo-classes"><include>pseudo-classes##SCSS</include></list>
0024         <list name="@page pseudo-classes"><include>@page pseudo-classes##SCSS</include></list>
0025         <list name="at-rules"><include>at-rules##SCSS</include></list>
0026         <list name="media operators"><include>media operators##SCSS</include></list>
0027         <list name="operators"><include>operators##SCSS</include></list>
0028         <list name="annotations"><include>annotations##SCSS</include></list>
0029 
0030         <contexts>
0031             <context name="Base" attribute="Normal Text" lineEndContext="#stay">
0032                 <IncludeRules context="FindCommentsColumn0" />
0033                 <IncludeRules context="FindComments" />
0034                 <RegExpr attribute="Property" context="Rule" String="^\s*[-_A-Za-z]+(/\*.*\*/)?\s*(?=:(\s|$))" lookAhead="true" column="0" minimal="true" />
0035                 <DetectSpaces />
0036                 <DetectChar attribute="At Rule" context="@mixin" char="=" firstNonSpace="true" />
0037                 <DetectChar attribute="At Rule" context="AtRule" char="+" firstNonSpace="true" />
0038                 <DetectChar attribute="At Rule" context="SelectAtRule" char="@" lookAhead="true" />
0039                 <!-- find selectors // .class #id :hover :nth-child(2n+1) [type="search"] -->
0040                 <DetectChar attribute="Selector Attribute" context="SelectorAttr" char="[" />
0041                 <DetectChar attribute="Separator Symbol" context="#stay" char="," />
0042                 <AnyChar attribute="Operator" context="#stay" String="&amp;*>+~|" />
0043                 <RegExpr attribute="Selector Pseudo" context="SelectorPseudo" String=":(?=[a-z:])" />
0044                 <RegExpr attribute="Selector Id" context="#stay" String="#[-]?(&nmstart;)(&nmchar;)*" />
0045                 <RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
0046                 <RegExpr attribute="Placeholder Selector" context="#stay" String="%[_a-zA-Z][_a-zA-Z\-]*" />
0047                 <RegExpr attribute="Selector Tag" context="#stay" String="[-]?(&nmstart;)(&nmchar;)*(?=\s|:?[#.&amp;[*>+~|,]|:[a-z:])" />
0048                 <RegExpr attribute="Variable" context="VariableDefine" String="\$[a-zA-Z0-9\-_]+(?=\s*:)" />
0049                 <Detect2Chars attribute="Interpolation" context="Interpolation" char="#" char1="{" />
0050                 <DetectChar attribute="Normal Text" context="Rule" char=":" lookAhead="true" />
0051             </context>
0052 
0053             <!-- same as SCSS -->
0054             <context name="FindSelector" attribute="Normal Text" lineEndContext="#stay">
0055                 <AnyChar attribute="Error" context="#stay" String=",&amp;" />
0056                 <AnyChar attribute="Operator" context="#stay" String="*>+~|" />
0057                 <!-- find selectors // .class #id :hover :nth-child(2n+1) [type="search"] -->
0058                 <DetectChar attribute="Selector Pseudo" context="SelectorPseudo" char=":" />
0059                 <DetectChar attribute="Selector Attribute" context="SelectorAttr" char="[" />
0060                 <IncludeRules context="FindComments" />
0061                 <RegExpr attribute="Selector Id" context="#stay" String="#[-]?(&nmstart;)(&nmchar;)*" />
0062                 <RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
0063                 <RegExpr attribute="Placeholder Selector" context="#stay" String="%[_a-zA-Z][_a-zA-Z\-]*" />
0064                 <RegExpr attribute="Selector Tag" context="#stay" String="[-]?(&nmstart;)(&nmchar;)*" />
0065                 <Detect2Chars attribute="Interpolation" context="Interpolation" char="#" char1="{" />
0066             </context>
0067 
0068             <!-- same as SCSS -->
0069             <context name="VariableDefine" attribute="Normal Text" lineEndContext="#pop">
0070                 <DetectChar attribute="Normal Text" context="RuleParameters" char=":" />
0071             </context>
0072 
0073             <context name="Interpolation" attribute="Normal Text" lineEndContext="#pop">
0074                 <DetectSpaces />
0075                 <DetectChar attribute="Interpolation" context="#pop" char="}" />
0076                 <IncludeRules context="FindStrings" />
0077                 <IncludeRules context="FindFunctions" />
0078                 <IncludeRules context="FindValues" />
0079             </context>
0080 
0081 
0082             <!-- find functions // rgba(255,255,255,0.75) -->
0083             <!-- same as SCSS -->
0084             <context name="FindFunctions" attribute="Normal Text" lineEndContext="#stay">
0085                 <RegExpr attribute="Function" context="Function" String="[a-z\-]{2,}\(" lookAhead="true" />
0086             </context>
0087 
0088             <!-- find values //  10px 12pt 2.5em 1rem 75% #ffcc99 red solid -->
0089             <!-- same as SCSS -->
0090             <context name="FindValues" attribute="Normal Text" lineEndContext="#stay">
0091                 <DetectChar attribute="Annotation" context="Annotation" char="!" />
0092                 <keyword attribute="Operator" context="#stay" String="operators" />
0093                 <keyword attribute="Value Keyword" context="#stay" String="value keywords" />
0094                 <keyword attribute="Value Keyword" context="#stay" String="special values" />
0095                 <keyword attribute="Value" context="#stay" String="values" />
0096                 <keyword attribute="Color" context="#stay" String="colors" />
0097                 <RegExpr attribute="Number" context="FindUnits" String="([0-9]+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)?" />
0098                 <RegExpr attribute="Color" context="#stay" String="#([0-9A-Fa-f]{3,4}){1,2}\b" />
0099                 <RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z0-9\-_]+" />
0100                 <RegExpr attribute="Normal Text" context="#stay" String="[-]?(&nmstart;)(&nmchar;)*" />
0101                 <AnyChar attribute="Operator" context="#stay" String="*/+%-" />
0102                 <Detect2Chars attribute="Interpolation" context="Interpolation" char="#" char1="{" />
0103             </context>
0104 
0105             <!-- same as SCSS -->
0106             <context name="Annotation" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
0107                 <keyword attribute="Annotation" context="#pop" String="annotations" />
0108             </context>
0109 
0110             <!-- same as SCSS -->
0111             <context name="FindUnits" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="#pop">
0112                 <RegExpr attribute="Unit" context="#pop" String="(%|(em|ex|cap|ch|ic|rem|lh|rlh|vw|vh|vi|vb|vmin|vmax|cqw|cqh|cqi|cqb|cqmin|cqmax|cm|mm|Q|in|pc|pt|px|deg|rad|grad|turn|s|ms|Hz|kHz|fr|dpi|dpcm|dppx|x)\b)" />
0113             </context>
0114 
0115             <!-- find strings // "some words" 'some words' -->
0116             <!-- same as SCSS -->
0117             <context name="FindStrings" attribute="Normal Text" lineEndContext="#stay">
0118                 <DetectChar attribute="String" context="StringDQ" char="&quot;" />
0119                 <DetectChar attribute="String" context="StringSQ" char="'" />
0120             </context>
0121 
0122             <!-- find comments // and /* at the beginning of line -->
0123             <context name="FindCommentsColumn0" attribute="Comment" lineEndContext="#stay">
0124                 <!-- (\s*)(?=/[*/]) is not selected when the match is empty -->
0125                 <RegExpr attribute="Normal Text" context="Comment" String="^(\s+)(?=/[*/])" column="0" />
0126                 <RegExpr attribute="Comment" context="Comment" String="^()/[*/]" column="0" />
0127             </context>
0128 
0129             <!-- find comments // and /* -->
0130             <context name="FindComments" attribute="Comment" lineEndContext="#stay">
0131                 <Detect2Chars attribute="Comment" context="IsInlineComment" char="/" char1="/" />
0132                 <Detect2Chars attribute="Comment" context="IsInlineComment2" char="/" char1="*" />
0133             </context>
0134 
0135             <context name="Comment" attribute="Comment" lineEndContext="#stay" dynamic="true" fallthroughContext="IsInlineComment">
0136                 <RegExpr attribute="Comment" context="IsInlineComment" String="^%1\s|^\s*$" dynamic="true" column="0" />
0137                 <DetectSpaces attribute="Normal Text" context="#pop" lookAhead="true" column="0" />
0138                 <RegExpr attribute="Comment" context="#pop" String="." lookAhead="true" column="0"/>
0139             </context>
0140 
0141             <context name="IsInlineComment" attribute="Comment" lineEndContext="#pop">
0142                 <DetectSpaces />
0143                 <IncludeRules context="##Comments" />
0144                 <DetectIdentifier />
0145             </context>
0146 
0147             <context name="IsInlineComment2" attribute="Comment" lineEndContext="#pop">
0148                 <DetectSpaces />
0149                 <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />
0150                 <IncludeRules context="##Comments" />
0151                 <DetectIdentifier />
0152             </context>
0153 
0154             <context name="SelectAtRule" attribute="At Rule" lineEndContext="#pop">
0155                 <keyword attribute="At Rule" context="#pop!AtRule" String="at-rules" />
0156                 <!-- CSS: inline -->
0157                 <!-- SCSS: inline or block -->
0158                 <WordDetect attribute="At Rule" context="#pop!AtRule" String="@inline" />
0159                 <WordDetect attribute="At Rule" context="#pop!@extend" String="@extend" />
0160                 <WordDetect attribute="At Rule" context="#pop!@mixin" String="@mixin" />
0161                 <WordDetect attribute="At Rule" context="#pop!@mixin" String="@function" />
0162                 <WordDetect attribute="At Rule" context="#pop!@keyframes-@font-face" String="@keyframes" />
0163                 <WordDetect attribute="At Rule" context="#pop!@keyframes-@font-face" String="@font-face" />
0164                 <WordDetect attribute="At Rule" context="#pop!@viewport" String="@viewport" />
0165                 <WordDetect attribute="At Rule" context="#pop!@if" String="@if" />
0166                 <WordDetect attribute="At Rule" context="#pop!@else" String="@else" />
0167                 <WordDetect attribute="At Rule" context="#pop!@page" String="@page" />
0168                 <RegExpr attribute="At Rule" context="#pop!AtRule" String="@[a-zA-Z0-9\-_]+\b" />
0169             </context>
0170 
0171             <context name="@if" attribute="Normal Text" lineEndContext="#pop">
0172                 <DetectSpaces />
0173                 <IncludeRules context="FindComments" />
0174                 <IncludeRules context="FindStrings" />
0175                 <IncludeRules context="FindFunctions" />
0176                 <IncludeRules context="FindValues" />
0177                 <AnyChar attribute="Operator" context="#stay" String="=!&lt;&gt;" />
0178             </context>
0179 
0180             <context name="@else" attribute="Error" lineEndContext="#pop">
0181                 <DetectSpaces attribute="Normal Text" />
0182                 <IncludeRules context="FindComments" />
0183                 <WordDetect attribute="At Rule" context="#pop!@if" String="if" />
0184                 <DetectIdentifier attribute="Error" />
0185             </context>
0186 
0187             <context name="@extend" attribute="Normal Text" lineEndContext="#pop">
0188                 <DetectSpaces />
0189                 <IncludeRules context="FindSelector" />
0190             </context>
0191 
0192             <context name="@mixin" attribute="Normal Text" lineEndContext="#pop">
0193                 <DetectSpaces />
0194                 <IncludeRules context="FindComments" />
0195                 <RegExpr attribute="Function" context="MixinParameter" String="[a-zA-Z0-9\-_]+" />
0196             </context>
0197 
0198             <context name="MixinParameter" attribute="Error" lineEndContext="#pop#pop">
0199                 <DetectSpaces attribute="Normal Text" />
0200                 <AnyChar attribute="Normal Text" context="#stay" String="()" />
0201                 <DetectChar attribute="Separator Symbol" context="#stay" char="," />
0202                 <IncludeRules context="FindComments" />
0203                 <RegExpr attribute="Variable" context="#stay" String="\$[a-zA-Z0-9\-_]+" />
0204                 <StringDetect attribute="Operator" context="#stay" String="..." />
0205             </context>
0206 
0207             <context name="@keyframes-@font-face" attribute="Normal Text" lineEndContext="#pop">
0208                 <DetectSpaces />
0209                 <IncludeRules context="FindComments" />
0210             </context>
0211 
0212             <context name="@viewport" attribute="Normal Text" lineEndContext="#pop">
0213                 <DetectSpaces />
0214                 <IncludeRules context="FindComments" />
0215                 <DetectChar attribute="Selector Pseudo" context="SelectorPseudo" char=":" />
0216             </context>
0217 
0218             <context name="@page" attribute="Normal Text" lineEndContext="#pop">
0219                 <DetectSpaces />
0220                 <IncludeRules context="FindComments" />
0221                 <DetectChar attribute="Selector Pseudo" context="SelectorPseudo-@page" char=":" />
0222             </context>
0223 
0224             <context name="SelectorPseudo-@page" attribute="Selector Pseudo" lineEndContext="#pop" fallthroughContext="#pop">
0225                 <keyword attribute="Selector Pseudo" context="#pop" String="@page pseudo-classes" />
0226                 <RegExpr attribute="Selector Pseudo" context="#pop" String="[-a-zA-Z][-a-zA-Z0-9]*" />
0227             </context>
0228 
0229             <context name="AtRule" attribute="Normal Text" lineEndContext="#pop">
0230                 <DetectSpaces />
0231                 <DetectChar attribute="Operator" context="#stay" char="&amp;" />
0232                 <IncludeRules context="FindComments" />
0233                 <IncludeRules context="FindStrings" />
0234                 <IncludeRules context="FindFunctions" />
0235                 <keyword attribute="Keyword" context="#stay" String="media operators" />
0236                 <RegExpr attribute="Property" context="#stay" String="[A-Za-z_-]+(?=\s*:)" />
0237                 <keyword attribute="Value" context="#stay" String="media types" />
0238                 <keyword attribute="Value" context="#stay" String="media features" />
0239                 <IncludeRules context="FindValues" />
0240             </context>
0241 
0242             <!-- same as SCSS -->
0243             <context name="SelectorAttr" attribute="Selector Attribute" lineEndContext="#pop">
0244                 <DetectChar attribute="Selector Attribute" context="#pop" char="]" />
0245                 <IncludeRules context="FindStrings" />
0246                 <DetectChar   attribute="Operator" context="SelectorAttrValue" char="=" />
0247                 <Detect2Chars attribute="Operator" context="SelectorAttrValue" char="~" char1="=" />
0248                 <Detect2Chars attribute="Operator" context="SelectorAttrValue" char="^" char1="=" />
0249                 <Detect2Chars attribute="Operator" context="SelectorAttrValue" char="$" char1="=" />
0250                 <Detect2Chars attribute="Operator" context="SelectorAttrValue" char="*" char1="=" />
0251                 <Detect2Chars attribute="Operator" context="SelectorAttrValue" char="|" char1="=" />
0252                 <DetectIdentifier />
0253             </context>
0254 
0255             <!-- same as SCSS -->
0256             <context name="SelectorAttrValue" attribute="String" lineEndContext="#pop#pop">
0257                 <DetectChar attribute="Selector Attribute" context="#pop#pop" char="]" />
0258                 <DetectIdentifier />
0259             </context>
0260 
0261             <!-- same as SCSS -->
0262             <context name="SelectorPseudo" attribute="Selector Pseudo" lineEndContext="#pop">
0263                 <DetectChar attribute="Selector Pseudo" context="SelectorPseudoElements" char=":" />
0264                 <keyword attribute="Selector Pseudo" context="SelectorPseudoValue" String="pseudo-classes" />
0265                 <RegExpr attribute="Selector Pseudo" context="SelectorPseudoValue" String="[-a-zA-Z][-a-zA-Z0-9]*" />
0266             </context>
0267 
0268             <!-- same as SCSS -->
0269             <context name="SelectorPseudoElements" attribute="Selector Pseudo" lineEndContext="#pop#pop">
0270                 <keyword attribute="Selector Pseudo" context="#pop!SelectorPseudoValue" String="pseudo-elements" />
0271                 <RegExpr attribute="Selector Pseudo" context="#pop!SelectorPseudoValue" String="[-a-zA-Z][-a-zA-Z0-9]*" />
0272             </context>
0273 
0274             <!-- same as SCSS -->
0275             <context name="SelectorPseudoValue" attribute="Selector Pseudo" lineEndContext="#pop#pop" fallthroughContext="#pop#pop">
0276                 <DetectChar attribute="Selector Pseudo" context="SelectorPseudoValueClose" char="(" />
0277             </context>
0278 
0279             <!-- same as SCSS -->
0280             <context name="SelectorPseudoValueClose" attribute="Selector Pseudo" lineEndContext="#pop#pop#pop">
0281                 <DetectChar attribute="Selector Pseudo" context="#pop#pop#pop" char=")" />
0282                 <DetectIdentifier />
0283             </context>
0284 
0285             <context name="Rule" attribute="Normal Text" lineEndContext="#pop">
0286                 <DetectSpaces />
0287                 <IncludeRules context="FindComments" />
0288                 <DetectChar attribute="Normal Text" context="RuleParameters" char=":" />
0289                 <Detect2Chars attribute="Variable" context="IsVariable" char="-" char1="-" />
0290                 <keyword attribute="Property" context="#stay" String="properties" />
0291                 <keyword attribute="Property" context="#stay" String="sub-properties" />
0292                 <RegExpr attribute="Unknown Property" context="#stay" String="[^:]+" />
0293             </context>
0294 
0295             <context name="IsVariable" attribute="Normal Text" lineEndContext="#pop">
0296                 <DetectChar attribute="Normal Text" context="#pop!RuleParameters" char=":" />
0297                 <RegExpr attribute="Variable" context="#stay" String="[^:/]+" />
0298                 <IncludeRules context="FindComments" />
0299             </context>
0300 
0301             <context name="RuleParameters" attribute="Normal Text" lineEndContext="#pop#pop">
0302                 <DetectSpaces />
0303                 <!-- Jump out conditions -->
0304                 <DetectChar attribute="Separator Symbol" context="#stay" char="," />
0305                 <IncludeRules context="FindComments" />
0306                 <IncludeRules context="FindStrings" />
0307                 <IncludeRules context="FindFunctions" />
0308                 <IncludeRules context="FindValues" />
0309             </context>
0310 
0311             <!-- same as SCSS -->
0312             <context name="Function" attribute="Normal Text" lineEndContext="#pop">
0313                 <DetectChar attribute="Function" context="FunctionParameters" char="(" />
0314                 <StringDetect attribute="Function" context="FunctionVar" String="var(" />
0315                 <StringDetect attribute="Function" context="FunctionUrl" String="url(" />
0316                 <StringDetect attribute="Function" context="FunctionCalc" String="calc(" />
0317                 <keyword attribute="Function" context="#stay" String="functions" />
0318                 <RegExpr attribute="Function" context="#stay" String="[-a-zA-Z][-a-zA-Z0-9]*" />
0319             </context>
0320 
0321             <!-- same as SCSS -->
0322             <context name="FunctionVar" attribute="Variable" lineEndContext="#pop#pop" fallthroughContext="#pop!FunctionParameters">
0323                 <DetectSpaces />
0324                 <IncludeRules context="FindComments" />
0325                 <RegExpr attribute="Variable" context="#pop!FunctionParameters" String="--[^ \t\),]+" />
0326             </context>
0327 
0328             <!-- same as SCSS -->
0329             <context name="FunctionCalc" attribute="Normal Text" lineEndContext="#pop#pop">
0330                 <DetectSpaces />
0331                 <DetectChar attribute="Function" context="#pop#pop" char=")" />
0332                 <IncludeRules context="Calc" />
0333             </context>
0334 
0335             <!-- same as SCSS -->
0336             <context name="NestedCalc" attribute="Normal Text" lineEndContext="#pop#pop">
0337                 <DetectSpaces />
0338                 <DetectChar attribute="Normal Text" context="#pop" char=")" />
0339                 <IncludeRules context="Calc" />
0340             </context>
0341 
0342             <!-- same as SCSS -->
0343             <context name="Calc" attribute="Normal Text" lineEndContext="#pop">
0344                 <DetectChar attribute="Separator Symbol" context="#stay" char="," />
0345                 <DetectChar attribute="Normal Text" context="NestedCalc" char="(" />
0346                 <IncludeRules context="FindComments" />
0347                 <IncludeRules context="FindStrings" />
0348                 <IncludeRules context="FindFunctions" />
0349                 <IncludeRules context="FindValues" />
0350                 <RegExpr attribute="Operator" context="#stay" String="[-](?=$|[ \t(,;])|[+](?=$|[^0-9)])|[/*]" />
0351             </context>
0352 
0353             <!-- same as SCSS -->
0354             <context name="FunctionUrl" attribute="Normal Text" lineEndContext="#pop" fallthroughContext="UrlValue">
0355                 <DetectSpaces />
0356                 <IncludeRules context="FindStrings" />
0357                 <DetectChar attribute="Function" context="#pop#pop" char=")" />
0358             </context>
0359 
0360             <!-- same as SCSS -->
0361             <context name="UrlValue" attribute="String" lineEndContext="#pop#pop#pop">
0362                 <DetectChar attribute="Function" context="#pop#pop#pop" char=")" />
0363             </context>
0364 
0365             <!-- same as SCSS -->
0366             <context name="FunctionParameters" attribute="Normal Text" lineEndContext="#pop#pop">
0367                 <DetectSpaces />
0368                 <DetectChar attribute="Function" context="#pop#pop" char=")" />
0369                 <IncludeRules context="FindComments" />
0370                 <IncludeRules context="FindStrings" />
0371                 <IncludeRules context="FindFunctions" />
0372                 <IncludeRules context="FindValues" />
0373                 <DetectChar attribute="Separator Symbol" context="#stay" char="," />
0374                 <StringDetect attribute="Operator" String="..." />
0375             </context>
0376 
0377             <!-- string contexts -->
0378             <!-- same as SCSS -->
0379             <context name="StringDQ" attribute="String" lineEndContext="#pop">
0380                 <DetectChar attribute="String" context="#pop" char="&quot;" />
0381                 <IncludeRules context="InsideString" />
0382             </context>
0383 
0384             <!-- same as SCSS -->
0385             <context name="StringSQ" attribute="String" lineEndContext="#pop">
0386                 <DetectChar attribute="String" context="#pop" char="'" />
0387                 <IncludeRules context="InsideString" />
0388             </context>
0389 
0390             <!-- same as SCSS -->
0391             <context name="InsideString" attribute="String" lineEndContext="#stay">
0392                 <Detect2Chars attribute="Interpolation" context="Interpolation" char="#" char1="{" />
0393                 <RegExpr attribute="SpecialChar" context="#stay" String="\\([0-9A-Fa-f]{1,6}|.?)" />
0394                 <RegExpr attribute="String" context="#stay" String="\\?[^#&quot;'\\]+" />
0395             </context>
0396 
0397         </contexts>
0398 
0399         <itemDatas>
0400             <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>
0401             <itemData name="At Rule" defStyleNum="dsImport" spellChecking="false"/>
0402             <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>
0403             <itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>
0404             <itemData name="Unknown Property" defStyleNum="dsNormal" spellChecking="false"/>
0405             <itemData name="String" defStyleNum="dsString"/>
0406             <itemData name="SpecialChar" defStyleNum="dsSpecialChar" spellChecking="false"/>
0407             <itemData name="Interpolation" defStyleNum="dsOperator" spellChecking="false"/>
0408             <itemData name="Operator" defStyleNum="dsOperator" spellChecking="false"/>
0409             <itemData name="Separator Symbol" defStyleNum="dsOperator" spellChecking="false"/>
0410             <itemData name="Value" defStyleNum="dsDecVal" spellChecking="false"/>
0411             <itemData name="Number" defStyleNum="dsDecVal" spellChecking="false"/>
0412             <itemData name="Value Keyword" defStyleNum="dsBuiltIn" spellChecking="false"/>
0413             <itemData name="Color" defStyleNum="dsConstant" spellChecking="false"/>
0414             <itemData name="Unit" defStyleNum="dsDataType" spellChecking="false"/>
0415             <itemData name="Variable" defStyleNum="dsVariable" spellChecking="false"/>
0416             <itemData name="Function" defStyleNum="dsFunction" spellChecking="false"/>
0417             <itemData name="Annotation" defStyleNum="dsAttribute" spellChecking="false"/>
0418             <itemData name="Selector Id" defStyleNum="dsPreprocessor" bold="1" spellChecking="false"/>
0419             <itemData name="Selector Class" defStyleNum="dsFunction" spellChecking="false"/>
0420             <itemData name="Selector Attribute" defStyleNum="dsExtension" spellChecking="false"/>
0421             <itemData name="Selector Pseudo" defStyleNum="dsInformation" italic="1" spellChecking="false"/>
0422             <itemData name="Selector Tag" defStyleNum="dsNormal" spellChecking="false"/>
0423             <itemData name="Placeholder Selector" defStyleNum="dsBuiltIn" spellChecking="false"/>
0424             <itemData name="Comment" defStyleNum="dsComment" />
0425             <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>
0426         </itemDatas>
0427     </highlighting>
0428 
0429     <general>
0430         <keywords casesensitive="0" weakDeliminator="-%@" />
0431         <folding indentationsensitive="1" />
0432         <comments>
0433             <comment name="singleLine" start="//" position="afterwhitespace"/>
0434         </comments>
0435     </general>
0436 
0437 </language>
0438 <!-- kate: replace-tabs on; tab-width 4; indent-width 4; -->