Warning, /frameworks/syntax-highlighting/data/syntax/pgn.xml is written in an unsupported language. File is not indexed.
0001 <!-- 0002 0003 ==================================================================== 0004 PGN - Portable Game Notation syntax highlighting file for the 0005 KDE editors Kate and Kwrite 0006 ==================================================================== 0007 // PGN - Portable Game Notation highlighter 0008 // To write your chess (and others) games 0009 // written by Ruben Carlo Benante. - dr.beco@gmail.com 0010 // 14/oct/2005, v.2.0 0011 0012 - Know bugs: 0013 * None. 0014 --> 0015 <language name="PGN" version="6" kateversion="5.0" section="Other" extensions="*.pgn;*.PGN" priority="5" mimetype="" casesensitive="1" author="Ruben Carlo Benante (dr.beco@gmail.com)" license="GPL"> 0016 <highlighting> 0017 <list name="keywords_list"> 0018 <item>Event</item> 0019 <item>Site</item> 0020 <item>Date</item> 0021 <item>Round</item> 0022 <item>White</item> 0023 <item>Black</item> 0024 <item>Result</item> 0025 <item>ECO</item> 0026 <item>Annotator</item> 0027 <item>PlyCount</item> 0028 <item>EventDate</item> 0029 <item>EventCountry</item> 0030 <item>SourceDate</item> 0031 <item>WhiteTitle</item> 0032 <item>BlackTitle</item> 0033 <item>FM</item> 0034 <item>IM</item> 0035 <item>GM</item> 0036 <item>WhiteElo</item> 0037 <item>BlackElo</item> 0038 <item>WhiteNA</item> 0039 <item>BlackNA</item> 0040 <item>WhiteType</item> 0041 <item>BlackType</item> 0042 <item>program</item> 0043 <item>human</item> 0044 <item>TimeControl</item> 0045 <item>FEN</item> 0046 <item>Termination</item> 0047 <item>abandoned</item> 0048 <item>adjudication</item> 0049 <item>death</item> 0050 <item>emergency</item> 0051 <item>normal</item> 0052 <item>rules</item> 0053 <item>infraction</item> 0054 <item>time</item> 0055 <item>forfeit</item> 0056 <item>unterminated</item> 0057 <item>Mode</item> 0058 <item>OTB</item> 0059 <item>PM</item> 0060 <item>EM</item> 0061 <item>ICS</item> 0062 <item>TC</item> 0063 </list> 0064 <contexts> 0065 <context attribute="Normal Text" lineEndContext="#stay" name="Normal"> 0066 <keyword attribute="Keyword" context="#stay" String="keywords_list"/> 0067 <AnyChar attribute="Piece" context="#stay" String="KQBNRPODCTA"/> 0068 <DetectChar attribute="Commentp" context="Comment_p" char="(" beginRegion="Comment_p"/> 0069 <DetectChar attribute="Commentc" context="Comment_c" char="{" beginRegion="Comment_c"/> 0070 <DetectChar attribute="String" context="String" char="""/> 0071 <RegExpr attribute="Symbol" context="#stay" String="(\$\d*|1\-0|0\-1|1/2\-1/2|\*|#|\+|\?|!|=|x|\+\-|\-\+)"/> 0072 <RegExpr attribute="Number" context="#stay" String="\d*(\.|\.\.\.)( |$)"/> 0073 </context> 0074 <context attribute="Commentp" lineEndContext="#stay" name="Comment_p"> 0075 <DetectSpaces /> 0076 <DetectChar attribute="String" context="String" char="""/> 0077 <DetectChar attribute="Commentp" context="Comment_p" char="(" beginRegion="Comment_p"/> 0078 <DetectChar attribute="Commentc" context="Comment_c" char="{" beginRegion="Comment_c"/> 0079 <DetectChar attribute="Commentp" context="#pop" char=")" endRegion="Comment_p"/> 0080 <IncludeRules context="##Comments"/> 0081 </context> 0082 <context attribute="Commentc" lineEndContext="#stay" name="Comment_c"> 0083 <DetectSpaces /> 0084 <DetectChar attribute="String" context="String" char="""/> 0085 <DetectChar attribute="Commentp" context="Comment_p" char="(" beginRegion="Comment_p"/> 0086 <DetectChar attribute="Commentc" context="Comment_c" char="{" beginRegion="Comment_c"/> 0087 <DetectChar attribute="Commentc" context="#pop" char="}" endRegion="Comment_c"/> 0088 <IncludeRules context="##Comments"/> 0089 </context> 0090 <context attribute="String" lineEndContext="#stay" name="String"> 0091 <DetectChar attribute="String" context="#pop" char="""/> 0092 </context> 0093 </contexts> 0094 <itemDatas> 0095 <itemData name="Normal Text" defStyleNum="dsNormal"/> 0096 <itemData name="Keyword" defStyleNum="dsKeyword" bold="true"/> 0097 <itemData name="Piece" defStyleNum="dsNormal" color="#0095FF" bold="1" italic="0"/> 0098 <itemData name="Commentp" defStyleNum="dsComment"/> 0099 <itemData name="Commentc" defStyleNum="dsComment" bold="true"/> 0100 <itemData name="String" defStyleNum="dsString" bold="false"/> 0101 <itemData name="Number" defStyleNum="dsDecVal" color="#bb00bb"/> 0102 <itemData name="Symbol" defStyleNum="dsOthers" color="#00bb00"/> 0103 </itemDatas> 0104 </highlighting> 0105 <general> 0106 <comments> 0107 <comment name="multiLine" start="{" end="}" region="Comment_c"/> 0108 </comments> 0109 <keywords casesensitive="0" weakDeliminator=""/> 0110 </general> 0111 </language> 0112 <!-- kate: replace-tabs on; tab-width 2; indent-width 2; -->