Diff of /syntax/tcl.jsf.in [000000] .. [409b67]  Maximize  Restore

Switch to unified view

a b/syntax/tcl.jsf.in
1
# JOE syntax highlight file for TCL
2
3
=Idle
4
=Comment  green
5
=Constant     cyan
6
=Escape   bold cyan
7
=Keyword  bold
8
=Subst        magenta
9
=SubstEscape  bold magenta
10
11
:reset Idle
12
  *       command     noeat
13
  "#"     comment     recolor=-1
14
  " \t}"      reset
15
16
:comment Comment
17
  *       comment
18
  "\n"        reset
19
20
:command Idle
21
  *       ident       buffer
22
  "\""        string      recolor=-1
23
  "\n"        reset
24
  ";[{"       reset
25
26
:args Idle
27
  *       args
28
  ";[{\n"     reset
29
  "\\"        quote       recolor=-1
30
  "\""        string      recolor=-1
31
32
:quote Escape
33
  *       args
34
35
:string Constant
36
  *       string
37
  "\\"        escape      recolor=-1
38
  "\""        args
39
  "$"     subst       recolor=-1
40
41
:escape Escape
42
  *       string
43
  "0-7"       octal2
44
  "x"     hex1
45
  "u"     unicode1
46
47
:octal2 Escape
48
  *       string      noeat
49
  "0-7"       octal3
50
51
:octal3 Escape
52
  *       string      noeat
53
  "0-7"       string
54
55
:unicode1 Escape
56
  *       string      noeat
57
  "0-9a-fA-F" unicode2
58
59
:unicode2 Escape
60
  *       string      noeat
61
  "0-9a-fA-F" hex1
62
63
:hex1 Escape
64
  *       string      noeat
65
  "0-9a-fA-F" hex2
66
67
:hex2 Escape
68
  *       string      noeat
69
  "0-9a-fA-F" string
70
71
:subst SubstEscape
72
  *       string      noeat recolor=-2
73
  "a-zA-Z0-9_:"   substrest   recolor=-1
74
  "{"     substbrack  recolor=-1
75
76
:substrest Subst
77
  *       string      noeat
78
  "a-zA-Z0-9_:"   substrest
79
  "("     index
80
81
:substbrack Subst
82
  *       substbrack
83
  "}"     string
84
85
:index Subst
86
  *       index
87
  ")"     string
88
89
:ident Idle
90
  *       ident
91
  " \t\n;}]"  args        noeat strings
92
  "after"     kw
93
  "alarm"     kw
94
  "append"        kw
95
  "array"     kw
96
  "auto_commands"     kw
97
  "auto_execok"       kw
98
  "auto_import"       kw
99
  "auto_load"     kw
100
  "auto_load_index"       kw
101
  "auto_load_pkg"     kw
102
  "auto_packages"     kw
103
  "auto_qualify"      kw
104
  "binary"        kw
105
  "break"     kw
106
  "bsearch"       kw
107
  "case"      kw
108
  "catch"     kw
109
  "catclose"      kw
110
  "catgets"       kw
111
  "catopen"       kw
112
  "ccollate"      kw
113
  "cconcat"       kw
114
  "cd"        kw
115
  "cequal"        kw
116
  "chgrp"     kw
117
  "chmod"     kw
118
  "chown"     kw
119
  "chroot"        kw
120
  "cindex"        kw
121
  "clength"       kw
122
  "clock"     kw
123
  "close"     kw
124
  "cmdtrace"      kw
125
  "commandloop"       kw
126
  "concat"        kw
127
  "continue"      kw
128
  "crange"        kw
129
  "csubstr"       kw
130
  "ctoken"        kw
131
  "ctype"     kw
132
  "dup"       kw
133
  "echo"      kw
134
  "else"      kw
135
  "encoding"      kw
136
  "eof"       kw
137
  "error"     kw
138
  "eval"      kw
139
  "exec"      kw
140
  "execl"     kw
141
  "exit"      kw
142
  "expr"      kw
143
  "fblocked"      kw
144
  "fcntl"     kw
145
  "fconfigure"        kw
146
  "fcopy"     kw
147
  "file"      kw
148
  "fileevent"     kw
149
  "flock"     kw
150
  "flush"     kw
151
  "for"       kw
152
  "foreach"       kw
153
  "fork"      kw
154
  "format"        kw
155
  "fstat"     kw
156
  "ftruncate"     kw
157
  "funlock"       kw
158
  "gets"      kw
159
  "glob"      kw
160
  "global"        kw
161
  "history"       kw
162
  "host_info"     kw
163
  "id"        kw
164
  "if"        kw
165
  "incr"      kw
166
  "info"      kw
167
  "infox"     kw
168
  "interp"        kw
169
  "join"      kw
170
  "keyldel"       kw
171
  "keylget"       kw
172
  "keylkeys"      kw
173
  "keylset"       kw
174
  "kill"      kw
175
  "lappend"       kw
176
  "lassign"       kw
177
  "lcontain"      kw
178
  "lempty"        kw
179
  "lgets"     kw
180
  "lindex"        kw
181
  "link"      kw
182
  "linsert"       kw
183
  "list"      kw
184
  "llength"       kw
185
  "lmatch"        kw
186
  "load"      kw
187
  "loadlibindex"      kw
188
  "loop"      kw
189
  "lrange"        kw
190
  "lreplace"      kw
191
  "lsearch"       kw
192
  "lset"      kw
193
  "lsort"     kw
194
  "lvarcat"       kw
195
  "lvarpop"       kw
196
  "lvarpush"      kw
197
  "max"       kw
198
  "min"       kw
199
  "namespace"     kw
200
  "nice"      kw
201
  "open"      kw
202
  "package"       kw
203
  "pid"       kw
204
  "pipe"      kw
205
  "proc"      kw
206
  "profile"       kw
207
  "puts"      kw
208
  "pwd"       kw
209
  "random"        kw
210
  "read"      kw
211
  "readdir"       kw
212
  "regexp"        kw
213
  "regsub"        kw
214
  "rename"        kw
215
  "replicate"     kw
216
  "return"        kw
217
  "scan"      kw
218
  "scancontext"       kw
219
  "scanfile"      kw
220
  "scanmatch"     kw
221
  "seek"      kw
222
  "select"        kw
223
  "server_accept"     kw
224
  "server_create"     kw
225
  "set"       kw
226
  "signal"        kw
227
  "sleep"     kw
228
  "socket"        kw
229
  "source"        kw
230
  "split"     kw
231
  "string"        kw
232
  "subst"     kw
233
  "switch"        kw
234
  "sync"      kw
235
  "system"        kw
236
  "tclLog"        kw
237
  "tclx_findinit"     kw
238
  "tclx_fork"     kw
239
  "tclx_load_tndxs"       kw
240
  "tclx_sleep"        kw
241
  "tclx_system"       kw
242
  "tclx_wait"     kw
243
  "tell"      kw
244
  "time"      kw
245
  "times"     kw
246
  "trace"     kw
247
  "translit"      kw
248
  "try_eval"      kw
249
  "umask"     kw
250
  "unknown"       kw
251
  "unset"     kw
252
  "update"        kw
253
  "uplevel"       kw
254
  "upvar"     kw
255
  "variable"      kw
256
  "vwait"     kw
257
  "wait"      kw
258
  "while"     kw
259
done
260
261
:kw Keyword
262
  *   args    noeat

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks