summaryrefslogtreecommitdiffstats
path: root/tde-i18n-en_GB/data/tdeedu/kturtle/logohighlightstyle.en_GB.xml
blob: 0da14a4ef1c6049d897cc88add8c5b0f4a409711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?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="([!=&gt;&lt;][=]|[&gt;&lt;])" 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="&quot;" 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="&quot;" 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>