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
13 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE language>
|
||
|
<!-- Logo syntax highlightning v0.2 by Cies Breijs -->
|
||
|
<language name="sv" 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> lär </item>
|
||
|
</list>
|
||
|
|
||
|
<list name="statements">
|
||
|
<item> kör </item>
|
||
|
<item> rensa </item>
|
||
|
<item> ren </item>
|
||
|
<item> gå </item>
|
||
|
<item> gåx </item>
|
||
|
<item> gx </item>
|
||
|
<item> gåy </item>
|
||
|
<item> gy </item>
|
||
|
<item> framåt </item>
|
||
|
<item> fr </item>
|
||
|
<item> bakåt </item>
|
||
|
<item> ba </item>
|
||
|
<item> riktning </item>
|
||
|
<item> ri </item>
|
||
|
<item> svängvänster </item>
|
||
|
<item> sv </item>
|
||
|
<item> svänghöger </item>
|
||
|
<item> sh </item>
|
||
|
<item> mitten </item>
|
||
|
<item> pennbredd </item>
|
||
|
<item> pb </item>
|
||
|
<item> höjpenna </item>
|
||
|
<item> hp </item>
|
||
|
<item> sänkpenna </item>
|
||
|
<item> sp </item>
|
||
|
<item> pennfärg </item>
|
||
|
<item> pf </item>
|
||
|
<item> dukfärg </item>
|
||
|
<item> df </item>
|
||
|
<item> dukstorlek </item>
|
||
|
<item> ds </item>
|
||
|
<item> visa </item>
|
||
|
<item> vi </item>
|
||
|
<item> göm </item>
|
||
|
<item> gö </item>
|
||
|
<item> tryck </item>
|
||
|
<item> tr </item>
|
||
|
<item> ändra </item>
|
||
|
<item> an </item>
|
||
|
<item> meddelande </item>
|
||
|
<item> indatafönster </item>
|
||
|
<item> skriv </item>
|
||
|
<item> teckentyp </item>
|
||
|
<item> teckenstorlek </item>
|
||
|
<item> slump </item>
|
||
|
<item> rundpå </item>
|
||
|
<item> rundav </item>
|
||
|
<item> återställ </item>
|
||
|
</list>
|
||
|
|
||
|
<list name="controllers">
|
||
|
<item> medan </item>
|
||
|
<item> förvarje </item>
|
||
|
<item> i </item>
|
||
|
<item> för </item>
|
||
|
<item> till </item>
|
||
|
<item> gör </item>
|
||
|
<item> upprepa </item>
|
||
|
<item> upr </item>
|
||
|
<item> om </item>
|
||
|
<item> annars </item>
|
||
|
<item> returnera </item>
|
||
|
<item> avbryt </item>
|
||
|
<item> vänta </item>
|
||
|
</list>
|
||
|
|
||
|
<list name="boolops">
|
||
|
<item> och </item>
|
||
|
<item> eller </item>
|
||
|
<item> inte </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>
|