Warning, /frameworks/syntax-highlighting/data/syntax/hunspell-dic.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="Hunspell Dictionary File" section="Other" extensions="*.dic" priority="-9" version="3" kateversion="5.0" 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 <list name="list_hyphenKeywords">
0008         <item>LEFTHYPHENMIN</item>
0009         <item>RIGHTHYPHENMIN</item>
0010         <item>COMPOUNDLEFTHYPHENMIN</item>
0011         <item>COMPOUNDRIGHTHYPHENMIN</item>
0012         <item>NEXTWORD</item>
0013         <item>NOHYPHEN</item>
0014         <item>NEXTLEVEL</item>
0015 </list>
0016 
0017 <contexts>
0018 
0019         <context name="context_dic" attribute="Undefined" lineEndContext="context_spell" >
0020                 <!-- detect in the first line wether this is a hyphen dictionary (continue with context_hyphen) or a spell check dictionary (continue with context_spell) -->
0021                 <Int attribute="Number" context="context_spell" column="0" />
0022                 <RegExpr attribute="Encoding" context="context_hyphen" String=".*" />
0023         </context>
0024         
0025         <context name="context_hyphen" attribute="String" lineEndContext="#stay">
0026                 <AnyChar String="0123456789" attribute="Number" context="#stay" />
0027                 <DetectChar char="." attribute="Keyword" context="#stay" />
0028                 <DetectChar char="/" attribute="Keyword" context="context_hyphen_parameters" />
0029                 <AnyChar String="#%" column="0" attribute="Comment" context="context_comment" />
0030                 <keyword attribute="Keyword" context="#stay" String="list_hyphenKeywords" column="0" />
0031         </context>
0032         
0033         <context name="context_hyphen_parameters" attribute="String" lineEndContext="#pop">
0034                 <AnyChar String=",=" attribute="Keyword" context="#stay" />
0035                 <AnyChar String="0123456789" attribute="Number" context="#stay" />
0036         </context>
0037         
0038         <context name="context_spell" attribute="String" lineEndContext="#stay">
0039                 <DetectChar char="#" column="0" attribute="Comment" context="context_comment" />
0040                 <DetectChar char="/" attribute="Keyword" context="context_spell_flags" />
0041                 <DetectSpaces context="context_spell_options" />
0042         </context>
0043         
0044         <context name="context_spell_flags" attribute="Flags" lineEndContext="#pop">
0045                 <DetectSpaces context="context_spell_options" />
0046         </context>
0047         
0048         <context name="context_spell_options" attribute="Keyword" lineEndContext="#pop">
0049                 <DetectChar char=":" attribute="Keyword" context="context_spell_parameter" />
0050                 <DetectChar char="#" column="0" attribute="Comment" context="context_comment" />
0051         </context>
0052         
0053         <context name="context_spell_parameter" attribute="String" lineEndContext="#pop">
0054                 <DetectSpaces context="#pop" />
0055         </context>
0056         
0057         <context name="context_comment" attribute="Comment" lineEndContext="#pop">
0058                 <DetectSpaces />
0059                 <IncludeRules context="##Comments" />
0060                 <DetectIdentifier />
0061         </context>
0062 
0063 </contexts>
0064 
0065 
0066 <itemDatas>
0067         <itemData name="Undefined" defStyleNum="dsNormal" />
0068         <itemData name="Keyword" defStyleNum="dsKeyword" />
0069         <itemData name="Comment" defStyleNum="dsComment" />
0070         <itemData name="Number" defStyleNum="dsDecVal" />
0071         <itemData name="String" defStyleNum="dsString" />
0072         <itemData name="Flags" defStyleNum="dsChar" />
0073         <itemData name="Encoding" defStyleNum="dsDataType" />
0074 </itemDatas>
0075 
0076 </highlighting>
0077 
0078 
0079 <general>
0080         <comments>
0081                 <comment name="singleLine" start="#" />
0082         </comments>
0083 </general>
0084 
0085 </language>
0086 <!-- kate: replace-tabs off; -->