You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
4.9 KiB
142 lines
4.9 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE language>
|
|
<!-- Logo syntax highlightning v0.2 by Cies Breijs -->
|
|
<language name="en_US" 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">
|
|
|
|
|
|
<highlighting>
|
|
<list name="metafunctions">
|
|
<item> learn </item>
|
|
</list>
|
|
|
|
<list name="statements">
|
|
<item> run </item>
|
|
<item> clear </item>
|
|
<item> ccl </item>
|
|
<item> go </item>
|
|
<item> gox </item>
|
|
<item> gx </item>
|
|
<item> goy </item>
|
|
<item> gy </item>
|
|
<item> forward </item>
|
|
<item> fw </item>
|
|
<item> backward </item>
|
|
<item> bw </item>
|
|
<item> direction </item>
|
|
<item> dir </item>
|
|
<item> turnleft </item>
|
|
<item> tl </item>
|
|
<item> turnright </item>
|
|
<item> tr </item>
|
|
<item> centre </item>
|
|
<item> penwidth </item>
|
|
<item> pw </item>
|
|
<item> penup </item>
|
|
<item> pu </item>
|
|
<item> pendown </item>
|
|
<item> pd </item>
|
|
<item> pencolour </item>
|
|
<item> pc </item>
|
|
<item> canvascolour </item>
|
|
<item> cc </item>
|
|
<item> canvassize </item>
|
|
<item> cs </item>
|
|
<item> show </item>
|
|
<item> ss </item>
|
|
<item> hide </item>
|
|
<item> sh </item>
|
|
<item> press </item>
|
|
<item> sp </item>
|
|
<item> change </item>
|
|
<item> sc </item>
|
|
<item> message </item>
|
|
<item> inputwindow </item>
|
|
<item> print </item>
|
|
<item> fonttype </item>
|
|
<item> fontsize </item>
|
|
<item> random </item>
|
|
<item> wrapon </item>
|
|
<item> wrapoff </item>
|
|
<item> reset </item>
|
|
</list>
|
|
|
|
<list name="controllers">
|
|
<item> while </item>
|
|
<item> foreach </item>
|
|
<item> in </item>
|
|
<item> for </item>
|
|
<item> to </item>
|
|
<item> do </item>
|
|
<item> repeat </item>
|
|
<item> rpt </item>
|
|
<item> if </item>
|
|
<item> else </item>
|
|
<item> return </item>
|
|
<item> break </item>
|
|
<item> wait </item>
|
|
</list>
|
|
|
|
<list name="boolops">
|
|
<item> and </item>
|
|
<item> or </item>
|
|
<item> not </item>
|
|
</list>
|
|
|
|
<contexts>
|
|
<context name="Normal" attribute="Normal Text" lineEndContext="#stay">
|
|
|
|
<keyword attribute="MetaFunctions" String="metafunctions" context="#stay"/>
|
|
<keyword attribute="Statements" String="statements" context="#stay"/>
|
|
<keyword attribute="Execution Controllers" String="controllers" context="#stay"/>
|
|
<keyword attribute="Boolean Operators" String="boolops" context="#stay"/>
|
|
|
|
<RegExpr attribute="Expressers" String="([!=><][=]|[><])" context="#stay"/>
|
|
<RegExpr attribute="Normal" String="[a-zA-Z_][a-zA-Z_0-9]+" context="#stay"/>
|
|
<RegExpr attribute="Number" String="([0-9]+\.[0-9]*|\.[0-9]+)?|[0-9]*" context="#stay"/>
|
|
<RegExpr attribute="Comment" String="#.*$" context="#stay"/>
|
|
<RegExpr attribute="Operator" String="[+*/\(\)-]" context="#stay"/>
|
|
<RegExpr attribute="Scopes" String="[\[\]]" context="#stay"/>
|
|
<DetectChar attribute="String" char=""" context="String"/>
|
|
</context>
|
|
|
|
<context name="String" attribute="String" lineEndContext="#stay">
|
|
<HlCStringChar attribute="String" context="#stay"/>
|
|
<RegExpr attribute="Operator" String="%[a-zA-Z]" context="#stay"/>
|
|
<DetectChar attribute="String" char=""" context="#pop"/>
|
|
</context>
|
|
|
|
</contexts>
|
|
|
|
<itemDatas>
|
|
<itemData name="Normal Text" defStyleNum="dsNormal"/>
|
|
<itemData name="Normal" defStyleNum="dsNormal"/>
|
|
<itemData name="MetaFunctions" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/>
|
|
<itemData name="Statements" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="0" italic="0"/>
|
|
<itemData name="Execution Controllers" defStyleNum="dsKeyword" color="#006600" selColor="#ffffff" bold="1" italic="0"/>
|
|
<itemData name="Expressers" defStyleNum="dsKeyword" color="#1e99cc" selColor="#ffffff" bold="1" italic="0"/>
|
|
<itemData name="Boolean Operators" defStyleNum="dsKeyword" color="#9922cc" selColor="#ffffff" bold="1" italic="0"/>
|
|
<itemData name="Scopes" defStyleNum="dsKeyword" color="#00bb00" selColor="#ffffff" bold="1" italic="0"/>
|
|
<itemData name="Number" defStyleNum="dsFloat" color="#0000ff" selColor="#00eeff" bold="0" italic="0"/>
|
|
<itemData name="Comment" defStyleNum="dsComment" color="#999922" selColor="#888888" bold="0" italic="0"/>
|
|
<itemData name="String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/>
|
|
<itemData name="Raw String" defStyleNum="dsString" color="#800000" selColor="#ffffff" bold="0" italic="0"/>
|
|
<itemData name="Operator" defStyleNum="dsOthers" color="#888888" selColor="#ffffff" bold="0" italic="0"/>
|
|
</itemDatas>
|
|
</highlighting>
|
|
|
|
|
|
<general>
|
|
|
|
<folding indentationsensitive="0" />
|
|
|
|
<comments>
|
|
<comment name="singleLine" start="#" />
|
|
</comments>
|
|
|
|
<keywords casesensitive="0" />
|
|
|
|
</general>
|
|
|
|
|
|
</language>
|