1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- Logo syntax highlightning v0.2 by Cies Breijs -->
4 <language name="ru" version="0.2" kateversion="2.1" section="Logo" extensions="*.logo;*.lgo;*.LOGO;*.Logo" mimetype="text/x-logosrc;text/x-logo;application/x-logo" priority="9" casesensitive="0">
8 <list name="metafunctions">
12 <list name="statements">
13 <item> запусти </item>
17 <item> иди_гор </item>
19 <item> иди_верт </item>
25 <item> направление </item>
29 <item> направо </item>
32 <item> нов_ширина_пера </item>
34 <item> перо_подними </item>
36 <item> перо_опусти </item>
38 <item> нов_цвет_пера </item>
40 <item> нов_цвет_холста </item>
42 <item> нов_размер_холста </item>
52 <item> сообщение </item>
53 <item> окно_вопроса </item>
55 <item> нов_шрифт </item>
56 <item> нов_размер_шрифта </item>
57 <item> случайное </item>
58 <item> обёртка_вкл </item>
59 <item> обёртка_выкл </item>
63 <list name="controllers">
65 <item> для_каждого </item>
70 <item> повтори </item>
75 <item> прекрати </item>
86 <context name="Normal" attribute="Normal Text" lineEndContext="#stay">
88 <keyword attribute="MetaFunctions" String="metafunctions" context="#stay"/>
89 <keyword attribute="Statements" String="statements" context="#stay"/>
90 <keyword attribute="Execution Controllers" String="controllers" context="#stay"/>
91 <keyword attribute="Boolean Operators" String="boolops" context="#stay"/>
93 <RegExpr attribute="Expressers" String="([!=><][=]|[><])" context="#stay"/>
94 <RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]+" context="#stay"/>
95 <RegExpr attribute="Number" String="([0-9]+\.[0-9]*|\.[0-9]+)?|[0-9]*" context="#stay"/>
96 <RegExpr attribute="Comment" String="#.*$" context="#stay"/>
97 <RegExpr attribute="Operator" String="[+*/\(\)-]" context="#stay"/>
98 <RegExpr attribute="Scopes" String="[\[\]]" context="#stay"/>
99 <DetectChar attribute="String" char=""" context="String"/>
102 <context name="String" attribute="String" lineEndContext="#stay">
103 <HlCStringChar attribute="String" context="#stay"/>
104 <RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/>
105 <DetectChar attribute="String" char=""" context="#pop"/>
111 <itemData name="Normal Text" defStyleNum="dsNormal"/>
112 <itemData name="Normal" defStyleNum="dsNormal"/>
113 <itemData name="MetaFunctions" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/>
114 <itemData name="Statements" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="0" italic="0"/>
115 <itemData name="Execution Controllers" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="1" italic="0"/>
116 <itemData name="Expressers" defStyleNum="dsKeyword" color="#1e99cc" selColor="#ffffff" bold="1" italic="0"/>
117 <itemData name="Boolean Operators" defStyleNum="dsKeyword" color="#9922cc" selColor="#ffffff" bold="1" italic="0"/>
118 <itemData name="Scopes" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/>
119 <itemData name="Number" defStyleNum="dsFloat" color="#0000ff" selColor="#00eeff" bold="0" italic="0"/>
120 <itemData name="Comment" defStyleNum="dsComment" color="#999922" selColor="#888888" bold="0" italic="0"/>
121 <itemData name="String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/>
122 <itemData name="Raw String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/>
123 <itemData name="Operator" defStyleNum="dsOthers" color="#888888" selColor="#ffffff" bold="0" italic="0"/>
130 <folding indentationsensitive="0" />
133 <comment name="singleLine" start="#" />
136 <keywords casesensitive="0" />