Subversion Repositories Kolibri OS

Rev

Rev 9422 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
9905 leency 1
; Necromancer's Dos Navigator Editor Syntax Highlight configuration file... ณ
2
;ฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤู
9361 leency 3
 
9905 leency 4
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
5
; See details on keywords in the online help
6
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
7
 
8
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9
; HGL file
10
;
11
; Macros:
12
;  1 FILES *.1/END
13
;  2 Macro 1/Endmacro
14
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
15
FILES *.HGL;
16
  CommentStart ;
17
  GeneralFLAGS 0
18
  StringFLAGS  12
19
  ColorKeyWords on
20
  BracketPairs macro endmacro files end
21
  KeyWords1 KeyWords1,RegKeyWords1,default,files,macro,endmacro,end,generalflags,stringflags
22
  KeyWords1 octonumflags,octqnumflags,octbnumflags,autowrap,leftmargin,
23
  KeyWords1 rightmargin,paragraph
24
  KeyWords1 binnumflags,hexnumflags,decnumflags,commentstart,ColorKeyWords
25
  KeyWords1 comment,commentstring,KeyWords,MultiLineComment,AutoBrackets
26
  KeyWords1 regKeyWords,multilinestring,bracketpairs,optimalfill,tabsize
27
  KeyWords1 LeftMargin,RightMargin,Paragraph,ForceNewlineAtEOF
28
  KeyWords1 Highlight,H_Line,H_Row,H_Column,WrapJustify
29
  KeyWords1 ForceCRLF,ForceCR,forceLF,CommentStartPos
30
  KeyWords2 KeyWords2,RegKeyWords2,on,off,yes,no,color
31
  KeyWords2 darkgray,lightblue,lightgreen,lightcyan,lightred,yellow,white
32
  KeyWords2 lightmagenta,black,blue,green,cyan,red,magenta,brown,lightgray
33
  KeyWords3 KeyWords3,RegKeyWords3
34
  KeyWords3 Print,GotoXY,GotoX,GotoY,Mark,Goto
35
;warning: this commands are taken from edcom.dnr dated 22-Dec-2005
36
;some of them may not work in all versions
37
;end is not listed because it is keyword1 too
38
  KeyWords3 AsciiTable,BlockDown,BlockEnd,BlockLeft,BlockPrint,BlockRead
39
  KeyWords3 BlockRight,BlockStart,BlockUp,BlockWrite,BracketPair,CalcBlock
40
  KeyWords3 CapBlock,CapString,CapWord,CaseBlock,CaseChar,CaseString
41
  KeyWords3 CaseWord,Close,ContSearch,Copy,CopyBlock,Cut,CutInv,DelBackChar
42
  KeyWords3 DelBlock,DelChar,DelLine,DelToSOL,DelWordLeft,DelWordRight
43
  KeyWords3 DeltoEOLN,Enter,ExecFile,FCenter,FJustify,FLeft,FRight
44
  KeyWords3 FileEnd,FilePrint,FileStart,GotoLineNumber,GotoMarker1
45
  KeyWords3 GotoMarker2,GotoMarker3,GotoMarker4,GotoMarker5,GotoMarker6
46
  KeyWords3 GotoMarker7,GotoMarker8,GotoMarker9,HideBlock,Home
47
  KeyWords3 IndentBlock,IndentOff,IndentOn,InsLine,InsertDate,InsertOff
48
  KeyWords3 InsertOn,InsertTime,InsertVersion,LCenter,LJustify,LLeft
49
  KeyWords3 LRight,LoadText,LowBlock,LowString,LowWord,MarkAll,MarkLine
50
  KeyWords3 MarkWord,Menu,MoveBlock,MoveBlockEnd,MoveBlockStart,MoveDown
51
  KeyWords3 MoveLeft,MoveRight,MoveUp,Paste,PgDn,PgUp,PlaceMarker1
52
  KeyWords3 PlaceMarker2,PlaceMarker3,PlaceMarker4,PlaceMarker5
53
  KeyWords3 PlaceMarker6,PlaceMarker7,PlaceMarker8,PlaceMarker9,Play0,Play1
54
  KeyWords3 Play2,Play3,Play4,Play5,Play6,Play7,Play8,Play9,Redo,Replace
55
  KeyWords3 RevSearch,SaveText,SaveTextAs,ScreenBottom,ScreenTop,ScrollDn
56
  KeyWords3 ScrollUp,SortBlock,SortBlockRev,StartSearch,SwitchBack
57
  KeyWords3 SwitchBlock,SwitchDrawMode,SwitchFill,SwitchHiColumn
58
  KeyWords3 SwitchHiLine,SwitchHighLight,SwitchIndent,SwitchIns,SwitchSave
59
  KeyWords3 SwitchWrap,Tab,TabBack,UnIndentBlock,Undo,UpBlock,UpString
60
  KeyWords3 UpWord,WindowsCopy,WindowsCut,WindowsPaste,WordCount,WordLeft
61
  KeyWords3 WordRight,SwapLines,SwapWords,SwapWordsAlt,EncryptText,DecryptText
62
  KeyWords3 ReverseWord,Go1stNonBlank,DelMultiSpc,DelAllSpc,DelAllSpcNoQuote
63
  KeyWords3 DelMultiSpc,DelAllSpc,DelAllSpcNoQuote,DelEmptyLines,DelDupLines
64
  KeyWords3 DelStrLines,DelAllContains,DelAllNoContains,RevPosLines,GotoColNumber
65
  KeyWords3 CaseStringRand,CaseCharRand,CaseBlockRand,CaseWordRand
66
  KeyWords3 SortBlockIgn SortBlockIgnRev,QuoteLeft,QuoteRight
67
  KeyWords4 KeyWords4,RegKeyWords4
68
  KeyWords5 KeyWords5,RegKeyWords5
69
  KeyWords6 KeyWords6,RegKeyWords6
70
  KeyWords7 KeyWords7,RegKeyWords7
71
  KeyWords8 KeyWords8,RegKeyWords8
72
  Macro 1
73
    GoToX 0
74
    InsLine
75
    Print ';ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ'^M^S
76
    Print ';'^M^S
77
    Print ';ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ'^M^S
78
    Print ^X^E^E^D^D
79
  EndMacro
80
  Macro 2
81
    Print #1'FILES'#32'*.'#6^M^M'END'^M#5
82
    End
83
    Print #1#5#9
84
  EndMacro
85
  Macro 3
86
    Print #1'Macro'#32#6^M^M'EndMacro'^M#5
87
    End
88
    Print #1#5#9
89
  EndMacro
90
END
91
 
9422 leency 92
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
93
; Google Earth Kml file
94
FILES *.kml
9905 leency 95
  KeyWords1 description
96
  KeyWords2 version
97
  ColorKeyWords Yes
98
  CommentStart ;,:,#,//,
99
  BracketPairs Region /Region
9422 leency 100
END
101
 
102
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
103
FILES LACmd.pas
9905 leency 104
  RegKeyWords Color Blue LAG5
105
  RegKeyWords Color Blue LAS5
106
  RegKeyWords Color Blue LAT5
107
  RegKeyWords Color Yellow LAC5
9422 leency 108
END
109
 
110
FILES *.xyz
9905 leency 111
  KeyWords Color RED/LIGHTRED ABC,
112
  KeyWords Color GREEN/RED DEF,
113
  KeyWords Color BLUE/RED  GHI,
114
  KeyWords Color BLACK/RED JKL,
115
  KeyWords Color BLACK MNO
116
  KeyWords Color Yellow PQR
9422 leency 117
END
118
 
119
FILES *.dl
9905 leency 120
  KeyWords1 DIALOG
121
  RegKeyWords Color Yellow ~[^~\x5c\x21]+~
122
  StringFlags 32
123
  CommentStart ;
124
  Commentstring ;
9422 leency 125
END
126
 
127
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
128
;1S Config file
129
FILES 1CEStart.cfg
9905 leency 130
  RegKeyWords2 \[.+\]
131
  KeyWords3 CommonCfgLocation
9422 leency 132
END
133
 
134
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
135
; 1Sv77 extended module / 1‘ เฅคฏเจ๏โจฅ
136
FILES *.1s
9905 leency 137
  Keywords3 ”ใญชๆจ๏
138
  keywords4 ฅเฅฌ
139
  keywords6 …แซจ,ˆญ ็ฅ…แซจ,Šฎญฅๆ…แซจ,Šฎญฅๆ–จชซ ,…แซจ,ฎช ,„ซ๏,’ฎฃค ,เฅเข โ์,
140
  Commentstring //
9422 leency 141
end
142
 
143
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
144
;1S Config file
145
FILES *.v8i
9905 leency 146
  KeyWords1 ref,srvr,ID
147
  KeyWords2 Connect
148
  KeyWords3 CommonInfoBases,External,App,
149
  KeyWords4 WA
150
  KeyWords6 AdditionalParameters
151
  KeyWords7 OrderInList,Folder,OrderInTree
152
  RegKeyWords1 \[.+\]
9422 leency 153
END
154
 
9361 leency 155
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 156
; Necromancer's Dos Navigator configuration files
9361 leency 157
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 158
FILES NDN.INI;ARCHIVER.INI
9361 leency 159
  CommentStart ;
160
  GeneralFLAGS  14
9905 leency 161
; [section] constructs
162
  RegKeyWords color red \[[^\]\[]+\]
163
; value= constructs
164
  RegKeyWords color lightred ^\w[^=]*(?==)
9361 leency 165
END
166
 
9422 leency 167
;ออออออออออออออออออออออออออออออออออออออออออออฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤ
168
; Necromancer Dos Navigator configuration / ไ ฉซ ฏฎคแขฅโชจ ไ ฉซฎข NDN
9361 leency 169
FILES hgroups.ini
9905 leency 170
;warning: ndn deletes all comments from hgroups.ini
171
  RegKeyWords color red ^\[group #\d\d?\]
172
  RegKeyWords color lightred ^(IsDir|UseDefaultBG|Index|Color|Mask)(?==)
173
END
9361 leency 174
 
175
FILES ftp.ini
176
  CommentStart ;
177
  GeneralFlags 14
178
  RegKeyWords color white ftp://
9905 leency 179
  RegKeyWords color lightgreen \[\d+\,\d+\,\d+\]
9361 leency 180
END
181
 
182
FILES ndn.spf
9905 leency 183
  CommentString ;
9361 leency 184
  RegKeyWords color white ;\s1*(\+|\*)?,^\s*(\+|\*)
185
  RegKeyWords color red ^\s*\[[^\[\]\\/\*\:\?\"\<\>\.]+\]
186
END
187
 
9905 leency 188
FILES NDN.EXT
189
  CommentStart ;
190
;RegKeyWords2
191
  RegKeyWords color white ^\s*([^\]\[\\/\*\:\?\"\<\>\.]+|\*\s*)(?=[\[\{\(])
192
;RegKeyWords5
193
  RegKeyWords color blue ~~~~,!!,\$\$
194
;RegKeyWords4
195
  RegKeyWords color green !\\
196
  RegKeyWords color green !~\\
197
  RegKeyWords color green \$\\
198
  RegKeyWords color green \$~\\
199
  RegKeyWords color green ~!,\.!~,\.!,!/,!~/,!:,!
200
  RegKeyWords color green ~\$,\.\$~,\.\$,\$/,\$~/,\$:,\$
201
;RegKeyWords3
202
  RegKeyWords color red (?<=[\[\{\(])\s*>?>(?=\ ?\d+(\s|$)),~,^\s*<=?
203
  RegKeyWords color red ^\s*>?>(?=\ ?\d+(\s|$))
204
;RegKeyWords comment
205
  RegKeyWords color cyan ^\s*rem[^\|]*,(?<=\|)\s*rem[^\|]*,^\s*::.*$
206
;RegKeyWords1
207
  RegKeyWords color white ^\s*@?\s*[A-Za-z]:$
208
  RegKeyWords color white ^\s*@?\s*(break|call|cd|chdir|chcp|cls|command|copy|ctty|date|del|erase|dir|exit|goto|lfnfor|lock|loadhigh|lh|md|mkdir|path|pause|prompt|rd|rmdir|ren|rename|set|shift|time|truename|type|unlock|ver|verify|vol)($|\s)
209
  RegKeyWords color white ^\s*@?\s*echo(\.|\s+(on|off)$)?
210
  RegKeyWords color white ^\s*@?\s*if(\s+not)?\s+(exist\ |errorlevel\ |(?=.*==))
211
  RegKeyWords color white ^\s*@?\s*for(?=\s+%%[^\d]\s+in\s+\([^\(\)]\)\s+do)
212
;RegKeyWords2
213
  RegKeyWords color lightgreen in(?=\s+\([^\(\)]*\)\s+do),(?<=\))\s+do
214
  RegKeyWords color lightgreen ^\s*:.*$
215
  KeyWords5 >,<,|
216
;regkewords5
217
  RegKeyWords color blue %%
218
;regkewords3
219
  RegKeyWords color red %\d,%\D[^%]*%,%
9361 leency 220
END
221
 
222
FILES ndn.vwr;ndn.edt
223
  CommentStart ;
224
;RegKeyWords comment
225
  RegKeyWords color cyan ^\s*;.*$
226
;RegKeyWords1
227
  RegKeyWords color white :
228
;RegKeyWords2
229
  RegKeyWords color red ^\s*[^\]\[\\/\*\:\?\"\<\>\.]+(?=:)
230
;RegKeyWords4
231
  RegKeyWords color green !\\
232
  RegKeyWords color green !~\\
233
  RegKeyWords color green \$\\
234
  RegKeyWords color green \$~\\
235
  RegKeyWords color green ~!,\.!~,\.!,!/,!~/,!:,!
236
  RegKeyWords color green ~\$,\.\$~,\.\$,\$/,\$~/,\$:,\$
237
END
9905 leency 238
 
239
FILES ndn.mnu;ndn.mn2
240
;comments in menu can appear only before first menu item
241
;strange: there can 0 or 1 spaces between > and number
9361 leency 242
  CommentStart ;
9905 leency 243
;RegKeyWords5
244
  RegKeyWords color blue ~~~~,!!,\$\$
245
;RegKeyWords4
246
  RegKeyWords color green !\\
247
  RegKeyWords color green !~\\
248
  RegKeyWords color green \$\\
249
  RegKeyWords color green \$~\\
250
  RegKeyWords color green ~!,\.!~,\.!,!/,!~/,!:,!
251
  RegKeyWords color green ~\$,\.\$~,\.\$,\$/,\$~/,\$:,\$
252
;RegKeyWords3
253
  RegKeyWords color red ^\s*>?>(?=\ ?\d+(\s|$)),~,^\s*<=?
254
  RegKeyWords color red (?<={)(nc)?menufile(?=="[^"]+"})
255
;RegKeyWords comment
256
  RegKeyWords color cyan ^\s*rem[^\|]*,(?<=\|)\s*rem[^\|]*,^\s*::.*$
257
;RegKeyWords1
258
  RegKeyWords color white ^\s*@?\s*[A-Za-z]:$
259
  RegKeyWords color white ^\s*@?\s*(break|call|cd|chdir|chcp|cls|command|copy|ctty|date|del|erase|dir|exit|goto|lfnfor|lock|loadhigh|lh|md|mkdir|path|pause|prompt|rd|rmdir|ren|rename|set|shift|time|truename|type|unlock|ver|verify|vol)($|\s)
260
  RegKeyWords color white ^\s*@?\s*echo(\.|\s+(on|off)$)?
261
  RegKeyWords color white ^\s*@?\s*if(\s+not)?\s+(exist\ |errorlevel\ |(?=.*==))
262
  RegKeyWords color white ^\s*@?\s*for(?=\s+%%[^\d]\s+in\s+\([^\(\)]\)\s+do)
263
;RegKeyWords2
264
  RegKeyWords color lightgreen in(?=\s+\([^\(\)]*\)\s+do),(?<=\))\s+do
265
  RegKeyWords color lightgreen ^\s*:.*$
266
  KeyWords5 >,<,|
267
;regkewords5
268
  RegKeyWords color blue %%
269
;regkewords3
270
  RegKeyWords color red %\d,%\D[^%]*%,%
9361 leency 271
END
272
 
9905 leency 273
FILES ndn.xrn
9361 leency 274
  CommentStart ;
275
;RegKeyWords comment
9905 leency 276
  RegKeyWords color cyan ^\s*;.*$
277
;RegKeyWords5
278
  RegKeyWords color blue ~~~~,!!,\$\$
279
;RegKeyWords4
280
  RegKeyWords color green !\\
281
  RegKeyWords color green !~\\
282
  RegKeyWords color green \$\\
283
  RegKeyWords color green \$~\\
284
  RegKeyWords color green ~!,\.!~,\.!,!/,!~/,!:,!
285
  RegKeyWords color green ~\$,\.\$~,\.\$,\$/,\$~/,\$:,\$
286
;RegKeyWords3
287
  RegKeyWords color red ^>[><\[\]]?(?=\s*(10|1|2|3|4|5|6|7|8|9)$),~,^\s*<=?
288
;RegKeyWords comment
289
  RegKeyWords color cyan ^\s*rem[^\|]*,(?<=\|)\s*rem[^\|]*,^\s*::.*$
9422 leency 290
;RegKeyWords1
9905 leency 291
  RegKeyWords color white ^\s*@?\s*[A-Za-z]:$
292
  RegKeyWords color white ^\s*@?\s*(break|call|cd|chdir|chcp|cls|command|copy|ctty|date|del|erase|dir|exit|goto|lfnfor|lock|loadhigh|lh|md|mkdir|path|pause|prompt|rd|rmdir|ren|rename|set|shift|time|truename|type|unlock|ver|verify|vol)($|\s)
293
  RegKeyWords color white ^\s*@?\s*echo(\.|\s+(on|off)$)?
294
  RegKeyWords color white ^\s*@?\s*if(\s+not)?\s+(exist\ |errorlevel\ |(?=.*==))
295
  RegKeyWords color white ^\s*@?\s*for(?=\s+%%[^\d]\s+in\s+\([^\(\)]\)\s+do)
9422 leency 296
;RegKeyWords2
9905 leency 297
  RegKeyWords color lightgreen in(?=\s+\([^\(\)]*\)\s+do),(?<=\))\s+do
298
  RegKeyWords color lightgreen ^\s*:.*$
299
  KeyWords5 >,<,|
300
;regkewords5
301
  RegKeyWords color blue %%
302
;regkewords3
303
  RegKeyWords color red %\d,%\D[^%]*%,%
304
END
9422 leency 305
 
9905 leency 306
FILES ndn.qdr
307
  CommentStart ;
308
  RegKeyWords color comment ^\s*;.*$
309
  RegKeyWords color lightred [-]
310
  RegKeyWords color lightgreen [*?]
9361 leency 311
END
312
 
9422 leency 313
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 314
; NDN Hints/Language/Dialog Files
315
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
316
FILES *.DNH;*.DNL;*.HTX
317
  CommentStart ;
318
  OptimalFill Off
9361 leency 319
END
320
 
9905 leency 321
FILES *.DNR
322
  CommentString ;
323
  OptimalFill Off
324
  BracketPairs menu;submenu;dialog;colordialog end ifdef endif
9361 leency 325
END
326
 
9905 leency 327
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
328
; Include files, usually assembler but also pascal and other.
329
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
330
FILES *.INC
331
  MultiLineComment 1
332
  CommentStart  $,%
333
  CommentString file://,#,;
334
  Comment       /* */,(* *),{ }
9361 leency 335
END
336
 
337
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 338
; Assembler files *.S35;*.S03;*.S01;*.S90
9361 leency 339
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 340
FILES *.ASM;*.S??;*.A86;*.EQU;*.COD
341
  CommentString ;
342
  HexNumFLAGS    31
343
  DecNumFLAGS    31
344
  OctoNumFLAGS   31
345
  BinNumFLAGS    31
346
  GeneralFlags   16
347
  BracketPairs macro endm proc endp
348
  KeyWords1    public,extern,extrn,include,macro,endm,segment,ideal,model,ends
349
  KeyWords1    proc,end,endp,title,subtitle,module,code,flat,jumps,data
350
  KeyWords1    const,rcode,equ,global,name,group,assume,nojumps,locals,org
351
  KeyWords1    if,ifdef,ifndef,elif,else,endif,define,undef,local,dup
352
  Keywords1    p386,.386,p486,.486,p586,.586,.586p,.686p,.data,dataseg,.code
353
  Keywords1    codeseg,.udata,udataseg,short,offset,near,end,struc,.xmm
354
; Registers and size related
355
  KeyWords3    tiny,large,ptr
356
  RegKeywords3 \b[abcd][lh]\b, \b([xyz]?mm[0-7]|[xyz]mm([8-9]|[12][0-9]|3[01]))\b
357
  RegKeywords3 \b[cdefgs]s\b, \b[er]?([ds]i|[bs]p|[abcd]x)\b, \b([sb]p|[sd]i)l\b
358
  RegKeyWords3 \b[cdt]r[0-7]\b, \br([8-9]|1[0-5])[bwdl]?\b, \b(k|st)[0-7]\b
359
  RegKeyWords3 \buse(16|32|64|avx(256|512))\b, \bbnd[0-3]\b, \b[rd][bdfpqtuw]\b
360
  RegKeyWords3 \b(|[dfpqtxyz]|[dq]q)(word)|(|t)(byte)|seg[cdefgs]s\b
361
; Instructions
362
  RegKeywords3 \b(ad[co]x)\b, \b(aes(dec|enc)(|last))\b
363
  RegKeywords3 \b(aes(imc|keygenassist))\b, \b(mul|ror|sar|shl|shr)(x)\b
364
  RegKeywords3 \b(cmp(eq|le|lt|neq|nle|nlt|ord)(pd|ps|sd|ss))\b
365
  RegKeywords3 \b(bl[sc](fill|i|ic|msk))\b, \b(bl(sr|cs))\b
366
  RegKeywords3 \b(bnd(|cl|cn|cu|ldx|mk|mov|stx))\b, \b(b(extr|zhi))\b
367
  RegKeywords3 \b(cl(ac|flushopt|wb))\b, \b(cmovp[eo])\b, \b(cmps[qs])\b
368
  RegKeywords3 \b(cmpunord(pd|ps|sd|ss))\b, \b(f(init|ldenv[dw]|wait))\b
369
  RegKeywords3 \b(fn(clex|disi|eni|save[dw]|stenv[dw]|)|getsec|iret(|[dqw]))\b
370
  RegKeywords3 \b(frst(or[dw]|pm)|fsave(|[dw])|fst(env[dw]|sw)|fx(rstor64|save(|64)))\b
371
  RegKeywords3 \b(inv(ept|pcid|vpid)|kunpck(bw|dq|wd)|llwpcb|lwp(ins|val))\b
372
  RegKeywords3 \b(k(add|and|andn|mov|not|or|ortest|shiftl|shiftr|test|xnor|xor)([bdqw]))\b
373
  RegKeywords3 \b(pclmul(hqhdq|hqhqdq|hqlqdq|lqhdq|lqhqdq|lqlqdq|qdq))\b
374
  RegKeywords3 \b(pblend(vb|w)|(|v)mpsadbw|p(commit|dep|ext|hminposuw))\b
375
  RegKeywords3 \b((rd|wr)([fg]sbase|rand|seed)|setp[eo]|sha1(msg1|msg2|nexte|rnds4))\b
376
  RegKeywords3 \b(sha256(msg1|msg2|rnds2)|s(lwpcb|tac)|tz(cnt|msk)|t1mskc)\b
377
  RegKeywords3 \b(xsave(|64|opt(|64))|xrstor(|64))\b,\bxsha(1|256)|xstore\b
378
  RegKeywords3 \b(x(abort|acquire|begin|end|release|test))\b
379
  RegKeywords3 \bvbroadcast[fi](128|32x2|32x4|32x8|64x2|64x4)\b
380
  RegKeywords3 \bvbroadcast(sd|ss)|vadd(pd|ps|sd|ss|sub(pd|ps))\b
381
  RegKeywords3 \bvaes(dec|declast|enc|enclast|imc|keygenassist)\b
382
  RegKeywords3 \bvalign[dq]|v(and(|n)|or)(pd|ps)\b
383
  RegKeywords3 \bvblend(mpd|mps|pd|ps|vpd|vps)\b
384
  RegKeywords3 \bvcmpeq_(os|uq|us)(pd|ps|sd|ss)|vcmpeq(pd|ps|sd|ss)\b
385
  RegKeywords3 \bvcmpfalse(|_os)(pd|ps|sd|ss)\b
386
  RegKeywords3 \bvcmp[gl][et](|_oq)(pd|ps|sd|ss)\b
387
  RegKeywords3 \bvcmp(neq_)(oq|os|us)(pd|ps|sd|ss)\b
388
  RegKeywords3 \bvcmp(neq)(pd|ps|sd|ss)|vcomi(sd|ss)|vcompress(pd|ps)\b
389
  RegKeywords3 \bvcmpn(ge|gt|le|lt)(|_uq)(pd|ps|sd|ss)\b
390
  RegKeywords3 \bvcmp(|un)ord(|_s)(pd|ps|sd|ss)\b
391
  RegKeywords3 \bvcmp(pd|ps|sd|ss)|vcmptrue(|_us)(pd|ps|sd|ss)\b
392
  RegKeywords3 \bvcvtdq2(pd|ps)|vcvtpd2(dq|ps|qq|udq|uqq)|vcvtph2ps\b
393
  RegKeywords3 \bvcvtps2(dq|pd|ph|qq|udq|uqq)|vcvtqq2(pd|ps)\b
394
  RegKeywords3 \bvcvtsd2(si|ss|usi)|vcvtsi2(sd|ss)|vcvtss2(sd|si|usi)\b
395
  RegKeywords3 \bvcvttpd2(dq|qq|udq|uqq)|vcvttps2(dq|qq|udq|uqq)\b
396
  RegKeywords3 \bvcvtt(sd|ss)2(si|usi)|vdpp[ds]\b
397
  RegKeywords3 \bvcvtu(d|q)q2(pd|ps)|vdbpsadbw\b
398
  RegKeywords3 \bvcvtusi2(sd|ss)|v(div|fpclass|max|min|mul)(pd|ps|sd|ss)\b
399
  RegKeywords3 \b(vexp2p|vexpandp)[ds]|vextractps\b
400
  RegKeywords3 \bv(extract|insert)[fi](128|32x4|32x8|64x2|64x4)\b
401
  RegKeywords3 \bv(fixupimm|getexp|getmant)(pd|ps|sd|ss)\b
402
  RegKeywords3 \bvfm(add(|sub)|sub(|add))(|132|213|231)(pd|ps|sd|ss)\b
403
  RegKeywords3 \bvfnm(add|sub)(|132|213|231)(pd|ps|sd|ss)\b
404
  RegKeywords3 \bv(gatherp|scatterp)(f0|f1)([dq](pd|ps))\b
405
  RegKeywords3 \bv(gather[dq]|maskmov)(dqu|pd|ps)|vh(add|sub)(pd|ps)\b
406
  RegKeywords3 \bvld(dqu|mxcsr)|vinsertps|vmclear\b
407
  RegKeywords3 \bvmov((ap[ds])|d(|dup|qa(|32|64)|qu(|16|32|64|8)))\b
408
  RegKeywords3 \bvmovh(lps|pd|ps)|vmovl(hps|pd|ps)\b
409
  RegKeywords3 \bvmovmsk(pd|ps)|vmovnt(dq(|a)|pd|ps)\b
410
  RegKeywords3 \bvmovs(d|[hl]dup|s)|vmov(q|up[ds])|vmptr(ld|st)\b
411
  RegKeywords3 \bvpabs[bdqw]|vpack[su]s(dw|wb)\b
412
  RegKeywords3 \bvpadd([bdqw]|s[bw]|us[bw])|vpalignr\b
413
  RegKeywords3 \bvpand(n[dq]|[dnq]|)|vpavg[bw]\b
414
  RegKeywords3 \bvpblend(d|m[bdqw]|vb|w)\b
415
  RegKeywords3 \bvpbroadcast([bdqw]|m(b2q|w2d))\b
416
  RegKeywords3 \bvpclmul(hqhdq|hqlqdq|lqhdq|lqlqdq|qdq)\b
417
  RegKeywords3 \bvpcm(ov|p([bd]|(eq|gt|l[et](|u))[bdqw]|(e|i)str[im]))\b
418
  RegKeywords3 \bvpcmp((neq|nl[et])(|u)[bdqw])|vphminposuw\b
419
  RegKeywords3 \bv(pcmp([qw]|(u[bdqw]))|(pcompress|pconflict)[dq])\b
420
  RegKeywords3 \bvpcom((eq|false|g[et]|l[et]|neq|true)(|u)[bdqw])\b
421
  RegKeywords3 \bvperm(2[fi]128|[bd]|i2([bdqw]|pd|ps)|il(|2|mo2|mz2|td2)(ps|pd))\b
422
  RegKeywords3 \bvperm(pd|ps|[qw]|t2[bdqw]|t2p[ds])\b
423
  RegKeywords3 \bvpexpand[dq]|vpextr[bdqw]|vpgather[dq][dq]\b
424
  RegKeywords3 \bvphadd(d|sw|w[dq]|w)|vphsub(bw|dq|sw|wd|[dw])\b
425
  RegKeywords3 \bvpinsr[bdqw]|vplzcnt[dq]|vpmadd(52huq|52luq|ubsw|wd)\b
426
  RegKeywords3 \bvpmaskmov[dq]|vpm(ax|in)[su][bdqw]\b
427
  RegKeywords3 \bvpmov(b2m|d2m|d[bw]|m2[bdqw]|mskb|q2m|q[bdw])\b
428
  RegKeywords3 \bvpmov(([sz]x)(b[dqw]|dq|w[dq]))|vpsadbw\b
429
  RegKeywords3 \bvpmov((s|us)(d[bw]|q[bdw]|wb)|w(2m|b))\b
430
  RegKeywords3 \bvpmul(dq|h(rsw|uw|w)|l[dqw]|tishiftqb|udq)\b
431
  RegKeywords3 \bvpor([dq]|)|vpperm|vpro[lr]([dq]|v[dq])\b
432
  RegKeywords3 \bvpscatter[dq][dq]|vpshuf([bd]|[hl]w)|vpsign[bdw]\b
433
  RegKeywords3 \bvpsll(dq|[dqw]|v[dqw])|vpsr[al]([dqw]|dq|v[dqw])\b
434
  RegKeywords3 \bvpsub([bdqw]|s[bw]|us[bw])|vpternlog[dq]\b
435
  RegKeywords3 \bvptest((n|)(m[bdqw])|)|vpunpck([hl](bw|dq|qdq|wd))\b
436
  RegKeywords3 \bvpxor([dq]|)|v(range|(rcp|rsqrt)(14|28)|reduce)(pd|ps|sd|ss)\b
437
  RegKeywords3 \bv(rndscale|round|scalef)(pd|ps|sd|ss)\b
438
  RegKeywords3 \bvr(cp|sqrt)(ps|ss)|vshuf[fi](32x4|64x2)\b
439
  RegKeywords3 \bvscatter[dq](pd|ps)|vshuf(pd|ps)\b
440
  RegKeywords3 \bv((sqrt|sub)(pd|ps|sd|ss)|stmxcsr|)\b
441
  RegKeywords3 \bv(test|xor)(pd|ps)|vunpck[hl](pd|ps)\b
442
  RegKeywords3 \bvucomi(sd|ss)|(v|)zero(all|upper)\b
443
;
444
  RegKeywords3 \b(adc|sub|sbb|p?test|out|dec|inc?|leave|int1|int3?|lock|x?add)\b
445
  RegKeywords3 \b(call|not|neg|daa|das|xchg|(cl|st)(c|d|g?i)|lea|cmc|nop)\b
446
  RegKeywords3 \b(aa[amds]|arpl|bound|sar|xlatb?)\b
447
  RegKeywords3 \b(bt[csr]?|bsr|bsf|[lms]fence|cmpxchg|lar|int01|rsm)\b
448
  RegKeywords3 \b(setALc|sALc?|into|icebp|lddqu|cbw|cqo|cdqe?|cwde?|hlt)\b
449
  RegKeywords3 \b(palignr|ver[rw]|[sl](ldt|tr|msw|gdt|idt|ahf)|ud0|ud1|ud2|umov)\b
450
  RegKeywords3 \b(wbinvd|ucomiss|rdshr|rdpmc|mwait)\b
451
  RegKeywords3 \b(loadall(286|386)|clts|syscall|sysret(|q)|invd|swapgs|f?emms|enter|wait)\b
452
  RegKeywords3 \b(cmpxchg(8|16)b|pand|pavg(w|b|usb)|popcnt|lsl)\b
453
  RegKeywords3 \b(sysenter|sysexit(|q)|bswap|wrmsr(|q)|rdtsc(|p)|rdmsr(|q)|wrshr|cpuid)\b
454
  RegKeywords3 \bf(bld|ild|sin|cos|sincos|prem1?|abs|yl2x(p1)?)\b
455
  RegKeywords3 \bfld(1|cw|l2e|lg2|ln2|l2t|env|pi|z)?\b
456
  RegKeywords3 \bf(xsave|xrstor|divp|divrp?|idivr|pa?tan|scale|rint2)\b
457
  RegKeywords3 \bfnst(cw|sw|env|dw|sg)\b, \bfucom(p?|pp|ip?)\b
458
  RegKeywords3 \bf(eni|disi|ninit|setpm|incstp|richop|sqrt)\b
459
  RegKeywords3 \bf(chs|tst|2xm1|stenv|bstp|decstp|mulp|clex)\b
460
  RegKeywords3 \bfcom(2|ip?|pp|p5|p3|p?)\b
461
  RegKeywords3 \bf(icomp?|nsave|rstor|addp|freep?|rinear|stcw)\b
462
  RegKeywords3 \bf(rndint|subr|subp|isubr|subrp|xtract|nop|xam)\b
463
  RegKeywords3 \bf(stp?|stp1|stp8|stp9|istp?|isttp|xch7?|xch4)\b
464
  RegKeywords3 \b(lzcnt|maskmov(Q|dqu)|pause|rcp[SP]S|pandn|psraw|psrad)\b
465
  RegKeywords3 \b(insertq|clflush|movhlPS|movlhPS|monitor)\b
466
  RegKeywords3 \bp((i2f|f2i)[dw]|fsub|fadd|fcmpgt)\b
467
  RegKeywords3 \bpf(subr|mul|rsqrt|pnacc|cmpeq|cmpge|rCPit1|rSQit1|rcp|min|max)\b
468
  RegKeywords3 \b(pswapd|pfn?acc|pminub|pfrcpit2|extractPS|insertPS|PMaddUBSW)\b
469
  RegKeywords3 \b(Px?or|crc32|unpck[hl]P[DS]|extrq|pmovmskB|hint_nop)\b
470
  RegKeywords3 \bcvt(t?P[DS]2(pi|DQ)|SS2SD|PD2P[SQ]|PS2PD|(pi|dq)2P[DS]|t?s[ds]2si)\b
471
  RegKeywords3 \bcvt(sd2s[is]|si2s[ds])\b, \bmovnt([SP][DS]|d?q|i|dqa)\b
472
  RegKeywords3 \bVM(m?call|load|save|launch|resume|xoff|xon|run|read|write)\b
473
  RegKeywords3 \b(x[gs]etbv|invlpga?|rsqrt[SP]S|skinit)\b
474
  RegKeywords3 \bfcmovn?(be?|e|u)\b, \bloop((|n?[ez])(|[dqw]))?\b, \brepn?[ez]?\b
475
  RegKeywords3 \bpunpckl(bw|wd||dq)\b, \b(ld|st)mxcsr\b
476
  RegKeywords3 \bf?i?(mul|div)\b, \b(fi?)?(add|sub)\b
477
  RegKeywords3 \b((if|j|set|cmov)n?([abceglopsz]|[abgl]e)|j[er]?cxz|jmpe?|jp[eo])\b
478
  RegKeywords3 \bmov([sz]xd?|be|d|q|ss|(sl|sh|s?d)dup|q2dq|dq(2q|a|u)|[ahlu]p[ds])?\b
479
  RegKeywords3 \b(cmp|out|lod|mov|sca|sto|in|pab)s[bwdq]?\b
480
  RegKeywords3 \b(push|pop)(|[fa])(|[dqw])\b, \br[co][lr]\b, \bround[sp][ds]\b
481
  RegKeywords3 \bph(add|sub)(s?w|d)\b, \bps[lr]l(w|d|d?q)\b, \b(PSADBW|PMaddWD)\b
482
  RegKeywords3 \bp(add|sub)([bwdq]|u?s[bw])\b, \b((retf|ret|retn)(|[dqw]))\b
483
  RegKeywords3 \bp(min|max)[su][bwd]\b, \bl[defgs]s\b, \bpsign[bwd]\b
484
  RegKeywords3 \bpmov[sz]x([bwd]q|[bw]d|bw)\b, \bpshuf(b|[hl]?w|d)\b
485
  RegKeywords3 \bpmul(l[wdq]|h(u|rs?)?w|u?dq)\b, \bp(ext|ins)r[bwdq]\b
486
  RegKeywords3 \bpcmp([ei]Str[mi]|(gt|eq)[bwdq])\b, \bsh[rl]d?\b
487
  RegKeywords3 \b(u?comi|add|sub|max|min|mul|div|sqrt)S[DS]\b
488
  RegKeywords3 \bpack[su]s(wb|dw)\b, \bpunpck(h?(bw|wd|dq)|[hl]qdq)\b
489
  RegKeywords3 \bprefetch(w?|wt1|t[0-2]|nta)\b, \b(andn?|x?or|cmp|div)(P[DS])?\b
490
  RegKeywords3 \b(max|min|mul|dp|blendV?|h?(add|sub)|sqrt|addsub|movmsk|shuf)P[DS]\b
491
  RegKeywords3 \bVF(N?Madd|NMsub|rcz)[sp][ds]\b, \bVPmadcsS?WD\b
492
  RegKeywords3 \bVP(comU?|rot|sha|shl)[bwdq]\b, \bVPmacsS?(DD|DQL|DQH|WD|WW)\b
493
  RegKeywords3 \bVPHaddU?(WD|WQ|DQ|B[wdq])\b, \bVFM(addSub|subAdd)P[ds]\b
9361 leency 494
  Macro 1
495
    GoToX 0
496
    InsLine
9905 leency 497
    Print ';ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ'^M^S
498
    Print ';'^M^S
499
    Print ';'^M^S
500
    Print ';'^M^S
501
    Print ';ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ'^M^S
502
    Print ^X^E^E^E^E^D^D
9361 leency 503
  EndMacro
504
  Macro 2
505
    GotoX 0
506
    InsLine
9905 leency 507
    Print ';'^M^S
508
    Print ';'^M^S
509
    Print ';'^M^S
510
    Print ^X^E^G^E^E^D^D
9361 leency 511
  EndMacro
512
  Macro 3
513
    GotoX 0
9905 leency 514
    Print 'IDEAL'^M'P386'^M'MODEL TINY'^M'JUMPS'^M'CODESEG'^M'STARTUPCODE'^M^M
515
    Print '        ret'^M
9361 leency 516
    GotoX 0
9905 leency 517
    Print 'UDATASEG'^M'DATASEG'^M'END'^M^M
518
    Print ^E^E^E^E^E^E
519
    GotoX 8
9361 leency 520
  EndMacro
521
  Macro 4
9905 leency 522
    GotoX 0
523
    Print 'IDEAL'^M'P386'^M'MODEL FLAT'^M'UDATASEG'^M'DATASEG'^M'CODESEG'^M'Start:'^M^M
524
    Print '        mov   ax,4C00h ; Termiate the program'^M
525
    GotoX 0
526
    Print '        int   21h      ; with exit code 0'^M
527
    GotoX 0
528
    Print 'END Start'^M^M
529
    Print ^E^E^E^E^E
530
    GotoX 8
9361 leency 531
  EndMacro
532
END
533
 
9905 leency 534
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
535
; Configuration files
536
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
537
FILES *.CFG;*.EVT;
538
  CommentStart  ;,#,$,%
539
  CommentString //
540
  GeneralFLAGS   14
541
END
9422 leency 542
 
9905 leency 543
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
544
; Batch/Config.sys files
545
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
546
FILES *.bat;autoexec.nt
547
  CommentStart REM\ ,::
548
;RegKeyWords comment
549
;  RegKeyWords color cyan ^\s*rem[^\|]*,(?<=\|)\s*rem[^\|]*,^\s*::.*$
550
;RegKeyWords1
551
  RegKeyWords color white ^\s*@?\s*[A-Za-z]:$
552
  RegKeyWords color white ^\s*@?\s*(break|call|cd|chdir|chcp|cls|command|copy|ctty|date|del|erase|dir|exit|goto|lfnfor|lock|loadhigh|lh|md|mkdir|path|pause|prompt|rd|rmdir|ren|rename|set|shift|time|truename|type|unlock|ver|verify|vol)($|\s)
553
  RegKeyWords color white ^\s*@?\s*echo(\.|\s+(on|off)$)?
554
  RegKeyWords color white ^\s*@?\s*if(\s+not)?\s+(exist\ |errorlevel\ |(?=.*==))
555
  RegKeyWords color white ^\s*@?\s*for(?=\s+%%[^\d]\s+in\s+\([^\(\)]\)\s+do)
556
;RegKeyWords2
557
  RegKeyWords color lightgreen in(?=\s+\([^\(\)]*\)\s+do),(?<=\))\s+do
558
  RegKeyWords color lightgreen ^\s*:.*$
559
  KeyWords5 >,<,|
560
;regkewords5
561
  RegKeyWords color blue %%
562
;regkewords3
563
  RegKeyWords color red %\d,%\D[^%]*%,%
564
  tabsize 8
9422 leency 565
END
566
 
9905 leency 567
FILES config.sys;config.nt;config.dos
568
  CommentStart ;
569
;RegKeyWords comment
570
  RegKeyWords color cyan ^\s*(rem|;).*$
571
;RegKeyWords1
572
  RegKeyWords color white ^\s*(accdate|break|country|dos(data)?|drivparam|lastdrive|logo|numlock|multitrack|shell|switches)\s*(?==)
573
  RegKeyWords color white ^\s*(buffers|fcbs|files|install|stacks)(high)?\s*(?==)
574
  RegKeyWords color white ^\s*device(high)?(?=.*=)
575
  RegKeyWords color white ^\s*set(?=\s*\D.*=)
576
  KeyWords2 on,off,high,low,umb,noumb,auto,noauto
577
;menu commands
578
;RegKeyWords1
579
  RegKeyWords color white ^\s*(menuitem|menucolor|menudefault|submenu|include)\s*(?==)
580
;RegKeyWords3
581
  RegKeyWords color red ^\s*\[\s*(menu|common)\s*\]
582
;RegKeyWords2
583
  RegKeyWords color lightgreen ^\s*\[[^\[\]]+\]
584
;NT extensions
585
;RegKeyWords1
586
  RegKeyWords color white ^\s*(echoconfig|ntcmdpropt|dosonly|emm\s*(?==))
9422 leency 587
END
588
 
9361 leency 589
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 590
; (Visual) Basic files
9361 leency 591
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
592
FILES *.VBS;*.BAS;*.FRM
593
  RegKeyWords Color Lightgreen \<[^\>]+\>,\[[^\]]+\],\([^\)]+\)
594
  KeyWords1 dim,set,sub,begin,end,for,each,in,next,if,then,to
595
  KeyWords1 vbOKCancel,vbInformation,function,else,vbOkOnly,vbCancel,
596
  KeyWords1 input,print,not,and,or,public,private,const,attribute,option
9905 leency 597
  KeyWords1 select,case,as
9361 leency 598
  KeyWords2 MsgBox,call,chr,exit,explicit,false,true,nothing,object,string
599
  KeyWords2 integer,long,boolean
600
  CommentString REM ,'
601
  BracketPairs  begin end if then for to
602
  StringFlags 32
603
END
9905 leency 604
 
9361 leency 605
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
606
; C files (*.h is in C++ section)
607
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
608
FILES *.c
609
;  AutoBrackets  Off
610
  MultiLineComment 1
611
  CommentString //
612
  Comment       /* */
613
  ForceNewlineAtEOF On
614
; turned off number highlighting
615
  GeneralFLAGS  467
616
  StringFLAGS   3
617
  OptimalFill Off
618
;  TabSize 4
619
  KeyWords1 auto,break,case,char,const,continue,default,do,double,else,enum
620
  KeyWords1 extern,float,for,goto,if,inline,int,long,register,restrict,return
621
  KeyWords1 short,signed,sizeof,static,struct,switch,typedef,union,unsigned
622
  KeyWords1 void,volatile,while,_Bool,_Complex,_Imaginary
623
;this is added due to NDN bug
624
  KeyWords2     #if,#ifdef,#ifndef,#endif,#else,#elif,#define,#undef,#pragma,#line,#include,#error
625
;RegKeyWords2
626
  RegKeyWords   color lightgreen ^\s*#\s*(if(n?def)?|endif|else|elif|define|undef|pragma|line|include|error)\b
627
  KeyWords2     defined,#
628
;RegKeyWords number
629
  RegKeyWords color lightcyan (?
630
  RegKeyWords color lightcyan \b(\d+[eE][+-]?\d+|\d+\.\d+([eE][+-]?\d+)?|0[xX]([0-9A-Fa-f]+\.?|[0-9A-Fa-f]*\.[0-9A-Fa-f]+)[pP][+-]?\d+)[fFlL]?\b
631
  RegKeyWords color lightcyan (?
632
;octal
633
  RegKeyWords color cyan (?
634
;RegKeyWords string
635
  RegKeyWords color lightmagenta L(?=[\'\"])
636
  Macro 1
637
    GoToX 0
638
    InsLine
639
    Print '/*****************************************************************'^M^S
640
    Print ' *'^M^S
641
    Print ' *'^M^S
642
    Print ' *'^M^S
643
    Print ' *****************************************************************/'^M^S
644
    Print ^X^E^E^E^E^D^D^D
645
  EndMacro
646
  Macro 2
647
    GotoX 0
648
    InsLine
649
    Print '/*'^M^S
650
    Print ' *'^M^S
651
    Print ' */'^M^S
652
    Print ^X^E^G^E^E^D^D^D
653
  EndMacro
654
  Macro 3
655
    GotoX 0
656
    Print '#include '^M^M
657
    Print 'int main ( int argc , char* argv[] )'^M
658
    Print '{'^M^M
659
    Print '    return 0;'^M
660
    GotoX 0
661
    Print '}'^M
662
    Print ^E^E^E^D^D^D^D
663
  EndMacro
664
  Macro 4
665
    GoToX 0
666
    Print '/*******************************************************************************/'^M^S
667
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
668
    Print '/*******************************************************************************/'^M^S
669
    Print ^E^E^D^D^D^D^D^D^D
670
    SwitchIns
671
  EndMacro
672
  Macro 5
673
    GoToX 0
674
    Print '/* --------------------------------------- */'^M^S
675
    Print '/*  */'^M^S
676
    Print '/* --------------------------------------- */'^M^S
677
    Print ^E^E^D^D^D
678
  EndMacro
679
END
680
 
681
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
682
; C++ files
683
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
684
FILES *.CPP;*.H;*.HPP;*.R;*.HH;*.HXX;*.CXX;*.CC
685
;  AutoBrackets  Off
686
  MultiLineComment 1
687
  ForceNewlineAtEOF On
688
  CommentString //
689
  Comment       /* */
690
; turned off number highlighting
691
  GeneralFLAGS  467
692
  StringFLAGS   3
693
  OptimalFill Off
694
;  TabSize 4
695
  KeyWords1 asm,auto,bool,break,case,catch,char,class,const,const_cast
696
  KeyWords1 continue,default,delete,do,double,dynamic_cast,else,enum
697
  KeyWords1 explicit,export,extern,false,float,for,friend,goto,if,inline,int
698
  KeyWords1 long,mutable,namespace,new,operator,private,protected,public
699
  KeyWords1 register,reinterpret_cast,return,short,signed,sizeof,static
700
  KeyWords1 static_cast,struct,switch,template,this,throw,true,try,return
701
  KeyWords1 short,signed,sizeof,static,static_cast,struct,switch,template
702
  KeyWords1 this,throw,true,try,typedef,typeid,typename,union,unsigned
703
  KeyWords1 using,virtual,void,volatile,wchar_t,while
704
  KeyWords1 __int32,__int64,__int8,__fastcall,_export,_asm,__asm,__try
705
  KeyWords1 __inline,__declspec,__stdcall,__published,cdecl,_pascal,far,near
706
  KeyWords2 and,and_eq,bitand,bitor,compl,not,not_eq,or,or_eq,xor,xor_eq
707
;this is added due to NDN bug
708
  KeyWords2     #if,#ifdef,#ifndef,#endif,#else,#elif,#define,#undef,#pragma,#line,#include,#error
709
  KeyWords2     defined,#
710
  RegKeyWords2  ^\s*#\s*(if(n?def)?|endif|else|elif|define|undef|pragma|line|include|error)\b
711
;RegKeyWords number
712
  RegKeyWords color number (?
713
  RegKeyWords color number \b(\d+[eE][+-]?\d+|\d+\.\d+([eE][+-]?\d+)?)[fFlL]?\b
714
  RegKeyWords color number (?
715
;octal
716
  RegKeyWords color number (?
717
;RegKeyWords string
718
  RegKeyWords color string (?=[\'\"])
719
  Macro 1
720
    GoToX 0
721
    InsLine
722
    Print '/*****************************************************************'^M^S
723
    Print ' *'^M^S
724
    Print ' *'^M^S
725
    Print ' *'^M^S
726
    Print ' *****************************************************************/'^M^S
727
    Print ^X^E^E^E^E^D^D^D
728
  EndMacro
729
  Macro 2
730
    GotoX 0
731
    InsLine
732
    Print '/*'^M^S
733
    Print ' *'^M^S
734
    Print ' */'^M^S
735
    Print ^X^E^G^E^E^D^D^D
736
  EndMacro
737
  Macro 3
738
    GotoX 0
739
    Print '#include '^M'#include '^M^M
740
    Print 'using namespace std;'^M^M
741
    Print 'int main ( int argc , char* argv[] )'^M
742
    Print '{'^M^M
743
    Print '    return 0;'^M
744
    GotoX 0
745
    Print '}'^M
746
    Print ^E^E^E^D^D^D^D
747
  EndMacro
748
  Macro 4
749
    GoToX 0
750
    Print '/*******************************************************************************/'^M^S
751
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
752
    Print '/*******************************************************************************/'^M^S
753
    Print ^E^E^D^D^D^D^D^D^D
754
    SwitchIns
755
  EndMacro
756
  Macro 5
757
    GoToX 0
758
    Print '/* --------------------------------------- */'^M^S
759
    Print '/*  */'^M^S
760
    Print '/* --------------------------------------- */'^M^S
761
    Print ^E^E^D^D^D
762
  EndMacro
763
END
764
 
9905 leency 765
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
766
; JAVA files
767
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
768
FILES *.JAVA
769
  AutoBrackets  Off
770
  MultiLineComment 1
771
  CommentString //
772
  Comment       /* */
773
  GeneralFLAGS  465
774
  StringFLAGS   3
775
  OptimalFill Off
776
;  TabSize 4
777
  KeyWords1     break,case,const,continue,default,do,else,super,new,final
778
  KeyWords1     for,goto,if,return,sizeof,static,switch,do,abstract,private
779
  KeyWords1     void,while,auto,typedef,public,try,catch,extends,protected
780
  KeyWords1     import,package,exception,throws,throw,finally,instanceof
781
  KeyWords1     System.in,System.out,System.err,interface,implements
782
  KeyWords2     char,int,long,short,String,signed,double,float,union,boolean
783
  KeyWords2     unsigned,struct,class,StringBuffer,true,false,this,null
784
  KeyWords2     FileInputStream,FileOutputStream,InputStreamReader
785
  KeyWords2     OutputStreamReader
786
  ColorKeyWords on
787
  Macro 1
788
    GoToX 0
789
    InsLine
790
    Print '/*****************************************************************'^M^S
791
    Print ' *'^M^S
792
    Print ' *'^M^S
793
    Print ' *'^M^S
794
    Print ' *****************************************************************/'^M^S
795
    Print ^X^E^E^E^E^D^D^D
796
  EndMacro
797
  Macro 2
798
    GotoX 0
799
    InsLine
800
    Print '/*'^M^S
801
    Print ' *'^M^S
802
    Print ' */'^M^S
803
    Print ^X^E^G^E^E^D^D^D
804
  EndMacro
805
  Macro 3
806
    GotoX 0
807
    Print 'package ;'^M^M
808
    Print 'import ;'^M^M
809
    Print 'public class Main'^M'{'^M^M
810
    Print '    public static void main(String []args)'^M'{'^M^M'}'^M
811
    GotoX 0
812
    Print '}'^M
813
    Print ^E^E^E^D^D^D^D^D^D^D^D
814
  EndMacro
815
  Macro 4
816
    GoToX 0
817
    Print '/*******************************************************************************/'^M^S
818
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
819
    Print '/*******************************************************************************/'^M^S
820
    Print ^E^E^D^D^D^D^D^D^D
821
    SwitchIns
822
  EndMacro
823
  Macro 5
824
    GoToX 0
825
    Print '/* --------------------------------------- */'^M^S
826
    Print '/*  */'^M^S
827
    Print '/* --------------------------------------- */'^M^S
828
    Print ^E^E^D^D^D
829
  EndMacro
9361 leency 830
END
831
 
9905 leency 832
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
833
; C# files (C Sharp)
834
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
835
FILES *.CS
836
  AutoBrackets  On
837
  MultiLineComment 1
838
  CommentString //
839
  Comment       /* */
840
  GeneralFLAGS  465
841
  StringFLAGS   3
842
  OptimalFill Off
843
;  TabSize 4
844
  KeyWords1     break,case,const,continue,default,do,else,new,namespace
845
  KeyWords1     for,goto,if,return,sizeof,static,switch,abstract,private
846
  KeyWords1     void,while,public,try,catch,protected,as,base,checked,unchecked
847
  KeyWords1     using,throw,finally,System,Console,interface,delegate,explicit
848
  KeyWords1     extern,fixed,foreach,implicit,internal,is,lock,object,operator
849
  KeyWords1     out,override,params,readonly,ref,sealed,stackalloc,typeof
850
  KeyWords1     unchecked,unsafe,virtual,volatile
851
  KeyWords2     byte,char,int,long,short,string,double,float,bool,uint,ulong,ushort
852
  KeyWords2     struct,class,true,false,this,null,decimal,enum,event,sbyte
853
  ColorKeyWords on
854
  Macro 1
855
    GoToX 0
856
    InsLine
857
    Print '/*****************************************************************'^M^S
858
    Print ' *'^M^S
859
    Print ' *'^M^S
860
    Print ' *'^M^S
861
    Print ' *****************************************************************/'^M^S
862
    Print ^X^E^E^E^E^D^D^D
863
  EndMacro
864
  Macro 2
865
    GotoX 0
866
    InsLine
867
    Print '/*'^M^S
868
    Print ' *'^M^S
869
    Print ' */'^M^S
870
    Print ^X^E^G^E^E^D^D^D
871
  EndMacro
872
  Macro 3
873
    GotoX 0
874
    Print 'using System;'^M^M
875
    Print 'public class main'^M'{'^M^M
876
    Print '    static void Main()'^M'{'^M^M'}'^M
877
    GotoX 0
878
    Print '}'^M
879
    Print ^E^E^E^D^D^D^D^D^D^D^D
880
  EndMacro
881
  Macro 4
882
    GoToX 0
883
    Print '/*******************************************************************************/'^M^S
884
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
885
    Print '/*******************************************************************************/'^M^S
886
    Print ^E^E^D^D^D^D^D^D^D
887
    SwitchIns
888
  EndMacro
889
  Macro 5
890
    GoToX 0
891
    Print '/* --------------------------------------- */'^M^S
892
    Print '/*  */'^M^S
893
    Print '/* --------------------------------------- */'^M^S
894
    Print ^E^E^D^D^D
895
  EndMacro
9361 leency 896
END
897
 
9905 leency 898
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
899
; Pascal/Delphi files
900
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
901
FILES *.DPK;*.DPR;*.PAS;*.PP,>PROGRAM|UNIT<
902
  AutoBrackets  Off
903
  MultiLineComment 1
904
  Comment       (* *),{ }
9361 leency 905
  CommentString //
9905 leency 906
  GeneralFLAGS   32
907
  StringFLAGS    204
908
  OptimalFill Off
909
;  TabSize 2
910
  BracketPairs asm;begin;case;dialog;try;record end try except;finally ifdef;ifndef endif repeat until if then while;for do
911
  ; Reserved words
912
  KeyWords1 and,array,as,at,asm,begin,break,case,class,const,constructor
913
  KeyWords1 dec,continue,destructor,dispinterface,div,do,downto,else,end
914
  KeyWords1 except,exclude,exports,false,file,final,finalization,finally
915
  KeyWords1 for,function,goto,if,include,implementation,in,inc,inherited
916
  KeyWords1 initialization,interface,is,label,library,mod,nil,not,object
917
  KeyWords1 of,on,or,out,interface,packed,procedure,program,property
918
  KeyWords1 raise,record,repeat,resourcestring,result,sealed,set,shl,shr
919
  KeyWords1 sizeof,static,string,then,threadvar,to,true,try,type,unit
920
  KeyWords1 unsafe,until,uses,var,while,with,xor
921
  KeyWords1 write,writeln,low,high,succ,pred,ord
922
  ; Directives
923
  KeyWords2 absolute,abstract,assembler,automated,cdecl,contains,default
924
  KeyWords2 deprecated,dispid,dynamic,export,external,far,forward
925
  KeyWords2 implements,index,inline,interrupt,local,message,name,near
926
  KeyWords2 nodefault,overload,override,package,pascal,platform,private
927
  KeyWords2 protected,public,published,read,readonly,register
928
  KeyWords2 reintroduce,requires,resident,safecall,stdcall,stored,strict
929
  KeyWords2 varargs,virtual,writeonly
930
  ; Base types
931
  KeyWords3 ansistring,bool,boolean,byte,cardinal,char,comp,currency
932
  KeyWords3 double,extended,longbool,longint,longword,real,real48,int64
933
  KeyWords3 integer,pchar,pointer,shortint,single,smallint,shortstring
934
  KeyWords3 string,uint64,variant,widechar,widestring,word,wordbool
935
  ; VP specific type?
936
  KeyWords3 smallword
9361 leency 937
 
9905 leency 938
  ColorKeyWords on
939
  KeyWords      COLOR BLACK  Necromancer
940
  KeyWords      COLOR YELLOW/DARKGRAY NDN
941
  RegKeyWords   Color lightgreen \{\$[^\}\{]+\}
942
  Macro 1
9361 leency 943
    GoToX 0
944
    InsLine
945
    Print '(*****************************************************************'^M^S
946
    Print ' *'^M^S
947
    Print ' *'^M^S
948
    Print ' *'^M^S
949
    Print '*****************************************************************)'^M^S
950
    Print ^X^E^E^E^E^D^D^D
951
  EndMacro
952
  Macro 2
953
    GotoX 0
954
    InsLine
955
    Print '(*'^M^S
956
    Print ' *'^M^S
957
    Print ' *)'^M^S
958
    Print ^X^E^G^E^E^D^D^D
959
  EndMacro
960
  Macro 3
961
    Print 'begin'^M^M
962
    Print 'end;'
963
    WordLeft
964
    MoveUp
965
  EndMacro
966
  Macro 4
9905 leency 967
    Print '{AH '
968
    Insertdate
969
    Print ' }'
970
    MoveLeft
9361 leency 971
  EndMacro
972
  Macro 5
973
    InsLine
974
    Home
9905 leency 975
    Print {ฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒฒ}
9361 leency 976
    Home
977
  EndMacro
978
  Macro 6
979
    InsLine
980
    Home
9905 leency 981
    Print {ฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑฑ}
9361 leency 982
    Home
983
  EndMacro
984
  Macro 7
985
    InsLine
986
    Home
9905 leency 987
    Print {ฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐฐ}
9361 leency 988
    Home
989
  EndMacro
990
  Macro 8
9905 leency 991
    GotoX 0
992
    Print 'program ;'^M^M
993
    Print 'uses ;'^M^M
994
    Print 'begin'^M^M
995
    Print 'end.'^M
996
    Print ^E^E^D^D
9361 leency 997
  EndMacro
998
  Macro 9
999
    GotoX 0
9905 leency 1000
    Print 'unit ;'^M^M
1001
    Print 'interface'^M^M
1002
    Print 'uses ;'^M^M
1003
    Print 'implementation'^M^M
1004
    Print 'end.'^M
9361 leency 1005
  EndMacro
1006
END
1007
 
1008
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1009
; Modula II files
1010
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1011
FILES *.MOD,*.DEF
1012
  MultiLineComment 10
1013
  Comment       (* *)
1014
  CommentStart  //
1015
  GeneralFLAGS   1
1016
  HEXNUMFLAGS    1
1017
  StringFLAGS    92
1018
  OCTQNUMFLAGS   1
1019
  KeyWords1  AND,FOR,OR,ARRAY,FORWARD,POINTER,GOTO,RECORD,CASE,IF,REPEAT,CONST
1020
  KeyWords1  SET,DIV,IN,THEN,DO,LABEL,TO,ELSE,LOOP,TYPE,ELSIF,MOD,UNTIL,EXIT
1021
  KeyWords1  NOT,WHILE,EXPORT,OF,WITH
1022
  KeyWords2  PROCEDURE,MODULE,END,BEGIN,FROM,BY,IMPLEMENTATION,RETURN
1023
  KeyWords2  VAR,IMPORT,DEFINITION
1024
  Macro 1
1025
    GoToX 0
1026
    InsLine
1027
    Print '(*****************************************************************'^M^S
1028
    Print ' *'^M^S
1029
    Print ' *'^M^S
1030
    Print ' *'^M^S
1031
    Print ' *****************************************************************)'^M^S
1032
    Print ^X^E^E^E^E^D^D^D
1033
  EndMacro
1034
  Macro 2
1035
    GotoX 0
1036
    InsLine
1037
    Print '(*'^M^S
1038
    Print ' *'^M^S
1039
    Print ' *)'^M^S
1040
    Print ^X^E^G^E^E^D^D^D
1041
  EndMacro
1042
  Macro 3
1043
    Print 'begin'^M^M
1044
    Print 'end;'
1045
    WordLeft
1046
    MoveUp
1047
  EndMacro
1048
END
1049
 
9905 leency 1050
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1051
; Makefiles (Borlands TASM Make)
1052
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1053
FILES *.MAK;MAKEFILE*.*;MAKE
1054
  GeneralFlags 8
1055
  CommentStart #
1056
  OptimalFill On
1057
  RegKeyWords color lightred \$\([\w]*?\)
1058
 
1059
  KeyWords1 !if,!ifdef,!ifndef,!elif,!endif,!else,.suffixes
1060
  RegKeyWords color red \$[d]\([\w]*?\)
1061
 
1062
  RegKeyWords color green \$(\*\*|\*|<|:|\.|&|@|\?)
1063
  RegKeyWords color green \$\(<[DFBR]{1}\)
9361 leency 1064
END
9905 leency 1065
 
1066
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1067
; Make files
1068
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1069
FILES *.MAK;MAKEFILE.*;MAKE
9361 leency 1070
  CommentString #
9905 leency 1071
  OptimalFill   On
1072
  KeyWords1     .NEWSOURCES,.SOURCE,.SOURCES,.TARGET,.TARGETROOT
1073
  KeyWords1     .VERSION,BUILTINS,CWD,FIRSTTARGET,INPUTFILE
1074
  KeyWords1     MAKEARGS,MAKEDIR,MAKEMACROS,MAKEPID,MAKESTATUS
1075
  KeyWords1     MAKETARGETS,MAKEVERSION,status
1076
  KeyWords2     %if,%ifdef,%ifndef,%elif,%elseif,%else,%endif
1077
  KeyWords2     %foreach,%while,%end,%break,%continue,%abort
1078
  KeyWords2     %chdir,%do,%echo,%error,%exec,%getenv,%include
1079
  KeyWords2     %restart,%set,%setenv,%undef,%defined,%dir,%empty
1080
  KeyWords2     %exists,%file,%length,%make,%member,%null,
1081
  KeyWords2     %readable,%time,%writable
9361 leency 1082
  Macro 1
1083
    GoToX 0
1084
    InsLine
1085
    Print '#################################################################'^M^S
1086
    Print '#'^M^S
1087
    Print '#'^M^S
1088
    Print '#'^M^S
1089
    Print '#################################################################'^M^S
1090
    Print ^X^E^E^E^E^D^D
1091
  EndMacro
1092
  Macro 2
1093
    GotoX 0
1094
    InsLine
1095
    Print '#'^M^S
1096
    Print '#'^M^S
1097
    Print '#'^M^S
1098
    Print ^X^E^G^E^E^D^D
1099
  EndMacro
1100
END
1101
 
9905 leency 1102
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1103
; Text files
1104
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1105
FILES *.TXT;*.FMT;*.SMP;*.MBS;CHANGELOG;*README*;MANIFEST
1106
  ColorKeyWords Off
1107
  AutoBrackets  On
1108
;  AUTOWRAP On
1109
;  LEFTMARGIN   5
1110
;  RIGHTMARGIN  60
1111
;  PARAGRAPH    5
1112
  CommentStart ;
1113
  GeneralFLAGS  526
1114
  STRINGFLAGS 224
1115
  Macro 1
1116
    GoToX 0
1117
    InsLine
1118
    Print ';================================================================'^M^S
1119
    Print ';'^M^S
1120
    Print ';'^M^S
1121
    Print ';'^M^S
1122
    Print ';================================================================'^M^S
1123
    Print ^X^E^E^E^E^D^D
1124
  EndMacro
1125
  Macro 2
1126
    GotoX 0
1127
    InsLine
1128
    Print ';'^M^S
1129
    Print ';'^M^S
1130
    Print ';'^M^S
1131
    Print ^X^E^G^E^E^D^D
1132
  EndMacro
1133
; Swap Chars (as in vi "xp"). Place cursor on SECOND character
1134
  Macro 3
1135
   BlockStart
1136
   Print ^D
1137
   BlockEnd
1138
   Cut
1139
   Print ^S
1140
   Paste
1141
  EndMacro
1142
;Join Lines
1143
  Macro 4
1144
   Print ^E
1145
   End
1146
   DelWordRight
1147
   Print ' '
1148
  EndMacro
1149
END
1150
 
1151
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1152
; IAR Linker files.
1153
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9361 leency 1154
FILES *.XCL
1155
  MultiLineComment 10
1156
  AutoBrackets  Off
1157
  CommentString //
1158
  Comment       /* */
1159
  Comment       -! -!
1160
  Macro 1
1161
    GoToX 0
1162
    InsLine
1163
    Print '//////////////////////////////////////////////////////////////////'^M^S
1164
    Print '//'^M^S
1165
    Print '//'^M^S
1166
    Print '//'^M^S
1167
    Print '//////////////////////////////////////////////////////////////////'^M^S
1168
    Print ^X^E^E^E^E^D^D^D
1169
  EndMacro
1170
  Macro 2
1171
    GotoX 0
1172
    InsLine
1173
    Print '//'^M^S
1174
    Print '//'^M^S
1175
    Print '//'^M^S
1176
    Print ^X^E^G^E^E^D^D^D
1177
  EndMacro
1178
END
1179
 
9905 leency 1180
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1181
; HTML Files
1182
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1183
FILES *.htm;*.html;*.asx;*.htt;*.htz;<,<
1184
 KeyWords1 A,ABBR,ACRONYM,ADDRESS,APPLET,AREA,B,BASE,BASEFONT,BDO,BIG,BLOCKQUOTE,BODY
1185
 KeyWords1 BR,BUTTON,CAPTION,CENTER,CITE,CODE,COL,COLGROUP,DD,DEL,DFN,DIR,DIV,DL,DT,EM
1186
 KeyWords1 FIELDSET,FONT,FORM,FRAME,FRAMESET,H1,H2,H3,H4,H5,H6,HEAD,HR,HTML,I,IFRAME,IMG
1187
 KeyWords1 INPUT,INS,ISINDEX,KBD,LABEL,LEGEND,LI,LINK,MAP,MENU,META,NOFRAMES,NOSCRIPT
1188
 KeyWords1 OBJECT,OL,OPTGROUP,OPTION,P,PARAM,PRE,Q,S,SAMP,SCRIPT,SELECT,SMALL,SPAN,STRIKE
1189
 KeyWords1 STRONG,STYLE,SUB,SUP,TABLE,TBODY,TD,TEXTAREA,TFOOT,TH,THEAD,TITLE,TR,TT,U,UL,VAR
1190
 KeyWords2 abbr,accept,accept-charset,accesskey,action,align,alink,alt,archive,axis
1191
 KeyWords2 background,bgcolor,border,cellpadding,cellspacing,char,charoff,charset
1192
 KeyWords2 checked,cite,class,classid,clear,code,codebase,codetype,color,cols,colspan
1193
 KeyWords2 compact,content,coords,data,datetime,declare,defer,dir,disabled,enctype
1194
 KeyWords2 face,for,frame,frameborder,headers,height,href,hreflang,hspace,http-equiv
1195
 KeyWords2 id,ismap,label,lang,language,link,longdesc,marginheight,marginwidth,maxlength
1196
 KeyWords2 media,method,multiple,name,noresize,noshade,nowrap,object,onblur,onchange
1197
 KeyWords2 onclick,ondblclick,onfocus,onkeydown,onkeypress,onkeyup,onload,onmousedown
1198
 KeyWords2 onmousemove,onmouseout,onmouseover,onmouseup,onreset,onselect,onsubmit,onunload
1199
 KeyWords2 onunload,profile,prompt,readonly,readonly,rel,rev,rows,rows,rowspan,rules
1200
 KeyWords2 scheme,scope,scrolling,selected,shape,size,span,src,standby,start,style
1201
 KeyWords2 summary,tabindex,target,text,title,type,usemap,valign,value,valuetype,version
1202
 KeyWords2 vlink,vspace,width
1203
 RegKeyWords color lightred class[a-z]*,
1204
 RegKeyWords color lightgreen [a-z]*frame[a-z]*,margin[a-z]+,h[0-9],
1205
 Comment 
1206
 MultiLineComment 1
1207
 Macro 1
1208
    GoToX 0
1209
    InsLine
1210
    Print ''^M
1211
    Print ''^M
1213
    Print ''^M^M
1214
    Print ''^M
1215
    Print ''
1216
    Home
1217
    Print ^E^E^D^D^D
1218
 EndMacro
9361 leency 1219
END
1220
 
9905 leency 1221
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1222
; XML
1223
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1224
FILES *.XML;*.bdsproj;*.vlp;*.xdd;<
1225
  GeneralFlags 1
1226
  StringFlags 128
9361 leency 1227
 
9905 leency 1228
  KeyWords1 xml,version,encoding,standalone
1229
  KeyWords2 no,yes,DOCTYPE,ELEMENT,ATTLIST
1230
  Comment 
1231
  MultiLineComment 1
1232
  RegKeyWords color lightred <[^/][^> ]+
1233
  RegKeyWords color lightred  ]+>
1234
 Macro 1
1235
    GoToX 0
1236
    InsLine
1237
    Print ''^M
1238
    Print '<>'^M^M
1239
    Print ''
1240
    Home
1241
    Print ^E^E^D
1242
 EndMacro
9361 leency 1243
END
1244
 
9905 leency 1245
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1246
; JAVASCRIPT, Proxy auto configuration files
1247
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1248
FILES *.JS;*.PAC
1249
  MultiLineComment 1
1250
  CommentString //
1251
  Comment       /* */
1252
  GeneralFLAGS  465
1253
  StringFLAGS   3
1254
  KeyWords1 language,if,else,var,function,return
1255
  KeyWords2 prompt,window,alert,null,location,{window,{,}
1256
  KeyWords2 open,close,document,target,write,writeln,
1257
  KeyWords2 onmousedown,captureevents,click,event,layers
1258
  KeyWords2 button,mousedown,true,false,which
1259
  Macro 1
1260
    GoToX 0
1261
    Print '/*******************************************************************************/'^M^S
1262
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
1263
    Print '/*******************************************************************************/'^M^S
1264
    Print ^E^E^D^D^D^D^D^D^D
1265
    SwitchIns
1266
  EndMacro
1267
  Macro 2
1268
    GoToX 0
1269
    Print '/* --------------------------------------- */'^M^S
1270
    Print '/*  */'^M^S
1271
    Print '/* --------------------------------------- */'^M^S
1272
    Print ^E^E^D^D^D
1273
  EndMacro
9361 leency 1274
END
1275
 
9905 leency 1276
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1277
; WINDOWS Files
1278
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1279
FILES *.INI;*.INF;*.REG;>^\[.+?\]<
1280
   KeyWords1 file://Folder.htt,
1281
   KeyWords2 Clsid,UICLSID,InfoTip,Default,Logo,WideLogo,
1282
   KeyWords2 ConfirmFileOp,cdfurl,Icon,Type,Order,
1283
   KeyWords2 Zoom,Sort,Direct,Color,PatternId,MenuName,ToolTipText,
1284
   KeyWords2 HelpText,Attributes,IconIndex,Solid,Width,WebViewTemplate,NT5,
1285
   KeyWords color cyan HTMLInfoTipFile
1286
   RegKeyWords color lightgreen Owner,Personal[^=]*,BuyURL,PersistMoniker(Preview)?
1287
   RegKeyWords color Red \[[^\]]+\]
1288
   RegKeyWords color lightBLUE,Icon[^=]*
1289
   RegKeyWords color lightmagenta LocalizedResourceName,
1290
   RegKeyWords color yellow .*\.lnk
1291
   KeyWords1 WinDir,WinBootDir,HostWinBootDrv,SystemReg,LoadTop,
1292
   KeyWords1 DoubleBuffer,AutoScan,WinVer,Network,DisableLog,
1293
   RegKeyWords color white Boot[a-z]*,
1294
   KeyWords color lightblue Logo
1295
   RegKeyWords color LightRed ^[^=]*=
1296
   commentstring ;
9361 leency 1297
END
1298
 
9905 leency 1299
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1300
; Shell scripts, files starting with "#!"
1301
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1302
FILES *.SH,>#![ ]*/bin/<,.bashrc,.profile,interfaces
1303
  GeneralFLAGS  17
1304
  STRINGFLAGS   7
1305
  CommentString #
1306
  BracketPairs  if;elif then while do case esac for do
1307
  KeyWords1  if,then,while,do,case,esac,done,test,else,in,break,elif,fi,for,function,export
1308
  KeyWords2  exit,echo,shift,cd,rm,mv,cp,mkdir,rmdir,chmod,pushd,popd,ln,eval,clear
1309
  Macro 1
1310
    FileStart
1311
    Home
1312
    InsLine
1313
    Print '#!/bin/bash'
1314
  EndMacro
9361 leency 1315
END
1316
 
9905 leency 1317
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1318
; PERL Files: C-style numbers, float numbers, case-sensitive
1319
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1320
FILES *.PL; *.PM; *.T; *.pod; *.SH, *.SUB;*.MU
1321
  GeneralFlags 81
1322
  StringFlags 131
1323
  MultilineComment 1
1324
  CommentString #
1325
  Comment __END__ _no_end_of_such_comment_
1326
  Comment =head1 =cut
1327
;  Comment =item =cut; doesn't work, apparently "=cut" never gets parsed again
1328
  CommentStart =item
1329
;  Comment =head2 =cut
9361 leency 1330
 
9905 leency 1331
  KeyWords1 cmp,eq,gt,lt,ne
1332
  KeyWords1 x
1333
  KeyWords1 and,not,or,xor
1334
  KeyWords1 continue,redo,do,else,elsif,for,foreach,goto,if,last,next,return,unless,until,while
1335
  KeyWords1 package,sub
1336
  KeyWords1 require,use
1337
  KeyWords1 local,my,our,new,tie
1338
  KeyWords1 BEGIN
1339
  KeyWords1 CORE, SUPER, bless
1340
  KeyWords2 __LINE__, __FILE__, __DATA__, __PACKAGE__
1341
  KeyWords2 abs,atan2,cos,exp,int,log,rand,sin,sqrt,srand
1342
  KeyWords2 pop, push, shift, splice, unshift
1343
  KeyWords2 delete, each, exists, keys, values
1344
  KeyWords2 grep,join,map,reverse,sort
1345
  KeyWords2 defined,scalar,ref,undef,wantarray
1346
  KeyWords2 seek, sysread, sysseek, syswrite, tell, truncate, chdir, mkdir, opendir, readdir, stat
1347
  KeyWords2 binmode, close, eof, fileno, flock, open, rename, select, unlink, utime
1348
  KeyWords2 eval,exit,die,exec,system
1349
  KeyWords2 glob,
1350
  KeyWords2 read, readline, print, printf, warn
1351
  KeyWords2 alarm,sleep
1352
  KeyWords2 pos,quotemeta,split,
1353
  KeyWords2 chomp,chop,index,lc,length,sprintf,substr,uc
1354
  KeyWords2 localtime,gmtime,time
1355
  KeyWords2 pack,unpack,vec,chr,ord,hex,ord
1356
  KeyWords3 $_,@_,$!
1357
  RegKeyWords COLOR LightBlue \$[0-9]+
1358
  RegKeyWords COLOR LightBlue \\[0-9]+
1359
  RegKeyWords COLOR LightRed \\x[a-fA-F0-9]+
1360
  RegKeyWords COLOR Red \\x{[a-zA-Z0-9]+}
1361
  RegKeyWords COLOR Yellow (?
1362
  RegKeyWords COLOR LightBlue (?
1363
  RegKeyWords COLOR LightCyan (?
1364
  RegKeyWords COLOR Blue [_a-zA-Z0-9]+ *(?==>)
1365
  RegKeyWords COLOR LightBlue (?<={)[_a-zA-Z0-9]+(?=})
9361 leency 1366
 
9905 leency 1367
;  RegKeyWords COLOR Cyan (?si:\=head2.*?\=cut)
9361 leency 1368
 
9905 leency 1369
; To play the macro: CTRL+J 1
1370
  Macro 1
1371
    Print '#!/usr/local/bin/perl -w'^M'use strict;'^M^M
1372
  EndMacro
1373
  Macro 2
1374
    Print 'while (<>) {'^M^M'}'^M#5#5' '
1375
  EndMacro
1376
  Macro 3
1377
    Print 'use Data::Dump qw(pp ddx);'^M'ddx '
1378
  EndMacro
9361 leency 1379
END
1380
 
9905 leency 1381
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1382
; PHP files: GENERALFLAGS = case sensitive + C numbers; Comments: #, //
1383
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1384
FILES *.PHP;*.ROS
1385
  GeneralFLAGS 16
1386
  STRINGFLAGS 7
1387
  CommentString #, //
1388
  MultiLineComment 1
1389
  Comment /* */
1390
  KeyWords1 as,case,break,const,default,die,else,elseif,exit,for,foreach,continue,if,do,while,function,global,require,require_once,return,switch,try,catch,throw
1391
  KeyWords1 xor,or,and
1392
  KeyWords1 abstract,class,extends,final,implements,interface, public,private,protected,static,new,instanceof,var
1393
  KeyWords1 array,string,list
1394
  KeyWords2 __construct
1395
  KeyWords2 array_key_exists,array_keys,array_merge,array_slice,array_pop,count,empty,in_array,is_array
1396
  KeyWords2 date
1397
  KeyWords2 define,function_exists
1398
  KeyWords2 echo,print,printf,print_r,sprintf,error_log,trigger_error
1399
  KeyWords2 fclose,file,file_exists,fopen,fwrite,is_readable,readfile,file_get_contents,file_put_contents
1400
  KeyWords2 filetype,unlink
1401
  KeyWords2 dir,mkdir,rmdir,realpath
1402
  KeyWords2 basename,dirname
1403
  KeyWords2 isset,is_null,sizeof,unset
1404
  KeyWords2 mktime
1405
  KeyWords2 setcookie
1406
  KeyWords2 implode,explode,bin2hex,crc32,md5,rand
1407
  KeyWords2 str_pad,strlen,trim,strstr,strpos
1408
  KeyWords2 preg_match,preg_replace,quotemeta, str_replace
1409
  KeyWords2 error_reporting,set_error_handler
1410
  KeyWords2 var_dump
1411
  KeyWords2 ob_start,header,ob_end
1412
  KeyWords3 false,true,NULL,__FILE__,DIRECTORY_SEPARATOR,PATH_SEPARATOR
1413
  KeyWords3 self,this,parent
1414
  RegKeyWords COLOR Yellow \$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*
1415
  Macro 1
1416
    GoToX 0
1417
    print '
1418
    print ^M
1419
    print ^M
1420
    print ^M
1421
    print '?>'
1422
    MoveUp 2
1423
  EndMacro
1424
  Macro 2
1425
    GoToX 0
1426
    Print '/*******************************************************************************/'^M^S
1427
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
1428
    Print '/*******************************************************************************/'^M^S
1429
    Print ^E^E^D^D^D^D^D^D^D
1430
    SwitchIns
1431
  EndMacro
1432
  Macro 3
1433
    GoToX 0
1434
    Print '/* --------------------------------------- */'^M^S
1435
    Print '/*  */'^M^S
1436
    Print '/* --------------------------------------- */'^M^S
1437
    Print ^E^E^D^D^D
1438
  EndMacro
9361 leency 1439
END
1440
 
9905 leency 1441
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1442
; RESOURCES
1443
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1444
FILES *.rc
1445
  KeyWords1 menuitem,
1446
  KeyWords2 separator,popup,
1447
  Commentstart #
1448
  Commentstring #
9361 leency 1449
END
1450
 
1451
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1452
; FOXPRO/SQL
9905 leency 1453
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9361 leency 1454
FILES *.PRG;*.QPR;*.SQL
9905 leency 1455
  KeyWords1 order,by,on,inner,join,=,<,>,<=,>=,<>,or,and,not,with,
1456
  KeyWords1 go,execute,if,insert,nodelete,double,skip,.null.,
1457
  KeyWords1 define,of,on,popup,do,if,zoom,parameter,MAX,NORMAL,deactiv,
1458
  KeyWords1 shadow,push,append,close,release,exit,recno,quit,
1459
  KeyWords1 activate,deactivate,then,else,for,case,browse,eof,norm,@,
1460
  KeyWords1 FUNCTION,PROCEDURE,endif,read,say,locate,endcase,return,pop,get,
1461
  KeyWords1 menu,pad,window,bar,prompt,selection,parametr,clear,show,list,
1462
  KeyWords1 database,from,to,set,title,endfor,footer,message,talk,off,
1463
  KeyWords1 multi,margin,mark,all,font,picture,size,default,windows,cycle,
1464
  KeyWords1 float,grow,minimize,color,top,bottom,noshow,fields,lock,noappend,
1465
  KeyWords1 select,from,in,where,begin,end,delete,hide,index,
1466
  KeyWords1 safety,replicate,otherwise
1467
  KeyWords2 alltrim,year,date,use,empty,mline,lower,vartype,newobject,
1468
  KeyWords2 addproperty,evaluate,substr,file,len,asc,
1469
  KeyWords2 count
9361 leency 1470
  Commentstart *,&&
1471
  Commentstring &&
1472
  Comment  (* *)
1473
END
1474
 
1475
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1476
; ORACLE/SQL
9905 leency 1477
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9361 leency 1478
FILES *.SQL
1479
  StringFlags 64
1480
  MultiLineComment 1
1481
  Commentstring --
1482
  Comment  /* */
9905 leency 1483
  KeyWords1 order,by,on,inner,join,=,<,>,<=,>=,<>,or,and,not,
1484
  KeyWords1 declare,undefine,define,if,elsif,then,else,for,case,decode,is,as
1485
  KeyWords1 function,procedure,loop,default,first,last,while,between,exit
1486
  KeyWords1 select,from,in,out,where,begin,end,type,const,set,return,when
1487
  KeyWords1 drop,table,create,alter,insert,into,values,cursor,row,execute,add
1488
  KeyWords1 open,fetch,close,update,commit,rollback,desc,describe,like,pragma
1489
  KeyWords1 trigger,disable,enable,replace,all,triggers,default,constraint,check
1490
  KeyWords1 show,errors,exception,raise,raise_application_error,exception_init
1491
  KeyWords1 current,of,distinct,before,each
1492
  RegKeyWords color red %rowcount,%found,%notfound,%isopen,:new,:old
1493
  KeyWords2 substr,max,avg,min,dbms_output.put_line,sysdate,lower,upper,others
1494
  KeyWords2 sqlcode,sqlerrm,trunc,round,months_between,no_data_found
1495
  KeyWords3 null,date,varchar2,number,boolean
1496
  RegKeyWords color lightgray %type,%rowtype
9361 leency 1497
; highlight labels
9905 leency 1498
  RegKeyWords color lightred <<[^ \>]+>> , &[\w]+
9361 leency 1499
END
1500
 
9905 leency 1501
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1502
; URL Files
1503
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1504
FILES *.url
1505
  KeyWords1 URL,=,Modified,baseurl,description
1506
  KeyWords2 [InternetShortcut],http://www,[DEFAULT],[CeQuadrat]
1507
  RegKeyWords color lightblue http:.*,ftp:.*,[^\x20\.]*@[^\x20]*,www\..*
1508
end
9361 leency 1509
 
9905 leency 1510
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1511
; OS/2 Command File
1512
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1513
FILES *.cmd
1514
 KeyWords1 say,if,then,do,end,else,cls,call,echo,@goto,
1515
 KeyWords1 @echo,exit,parse,return,while,forever,title,
1516
 KeyWords1 until,arg,rem,set,copy,del,pause,when,otherwise,
1517
 KeyWords1 location,class,setupstring,ObjMode,background,SysOs2Ver,
1518
 KeyWords2 sysloadfuncs,rxfuncadd,LastPos,syscreateobject,word,
1519
 KeyWords2 translate,getyesno,charout,sysgetkey,Directory,
1520
 KeyWords2 lineout,linein,sysfiledelete,syscls,sysmkdir,enter,pull,signal,
1521
 KeyWords2 lines,beep,goto,SubStr,errorlevel,filespec,sysgetmessage,left,
1522
 KeyWords2 reverse,drive,subword,words,strip,word,sysdrivemap,RxFuncQuery,
1523
 KeyWords2 date,sysini,pos,value,GetBootDrive,Stream,CharIn,c2x,x2c,EXIST
1524
 comment /*,*/
1525
 commentstart *,
1526
 SwitchHighLight=ON
1527
 MultiLineComment 20
9361 leency 1528
END
1529
 
9905 leency 1530
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1531
; FORTRAN !does not support tabs in files -> fixed format!
1532
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1533
FILES *.F;*.FPP;*.FTN;*.FOR;*.I;*.F90;*.I90;*.F66;*.F77
1534
  GeneralFLAGS 80
1535
  StringFlags 192
1536
  CommentStart c,C,*
1537
  KeyWords1 function,parameter,data,program
1538
  KeyWords2 true,false,not,and,or,eqv,neqv,lt,le,eq,ge,gt,ne
1539
  KeyWords2 if,goto,then,endif,elseif,else,do,continue,dowhile,enddo,cycle
1540
  KeyWords2 exit,return,end,mod,pause,print,read,stop
1541
  KeyWords3 integer,real,double precision,complex,logical,character,record
1542
  KeyWords3 structure,dimension,
9361 leency 1543
END
1544
 
9905 leency 1545
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1546
; LISP (AutoCAD AutoLisp)
1547
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1548
FILES *.LSP;*.MNL
1549
  GeneralFlags 64
1550
  StringFlags 33
1551
  Comment ;| |;
1552
  CommentString ;
1553
  MultiLineComment 1
1554
  RegKeyWords Color LightRed '
1555
  RegKeyWords Color LightCyan \(,\)
1556
  RegKeyWords Color LightMagenta \*[^\x20]*?[^\x20]\*
1557
  RegKeyWords Color LightBlue vla-[^\x20\)]*
1558
  KeyWords1 +,-,*,/,=,/=,<,<=,>,>=,~,1+,1-
1559
  KeyWords1 abs,acad_colordlg,acad_helpdlg,acad_strlsort,action_tile
1560
  KeyWords1 add_list,alert,alloc,and,angle,angtof,angtos,append,apply
1561
  KeyWords1 arx,arxload,arxunload,ascii,assoc,atan,atof,atoi,atom
1562
  KeyWords1 atoms-family,autoarxload,autoload,Boole,boundp,caddr,cadr
1563
  KeyWords1 car,cdr,chr,client_data_tile,close,command,cond,cons,cos
1564
  KeyWords1 cvunit,defun,defun-q,defun-q-list-ref,defun-q-list-set
1565
  KeyWords1 dictadd,dictnext,dictremove,dictrename,dictsearch
1566
  KeyWords1 dimx_tile,dimy_tile,distance,distof,done_dialog,end_image
1567
  KeyWords1 end_list,entdel,entget,entlast,entmake,entmakex,entmod
1568
  KeyWords1 entnext,entsel,entupd,eq,equal,*error*,eval,exit,exp,expand
1569
  KeyWords1 expt,fill_image,findfile,fix,float,foreach,function,gc,gcd
1570
  KeyWords1 get_attr,get_tile,getangle,getcfg,getcname,getcorner,getdist
1571
  KeyWords1 getenv,getfiled,getint,getkword,getorient,getpoint,getreal
1572
  KeyWords1 getstring,getvar,graphscr,grclear,grdraw,grread,grtext,grvecs
1573
  KeyWords1 handent,help,if,initdia,initget,inters,itoa,lambda,last
1574
  KeyWords1 layoutlist,length,list,listp,load,load_dialog,log,logand
1575
  KeyWords1 logior,lsh,mapcar,max,mem,member,menucmd,menugroup,min
1576
  KeyWords1 minusp,mode_tile,namedobjdict,nentsel,nentselp,new_dialog
1577
  KeyWords1 nil,not,nth,null,numberp,open,or,osnap,pause,pi,polar,prin1
1578
  KeyWords1 princ,print,progn,prompt,quit,quote,read,read-char,read-line
1579
  KeyWords1 redraw,regapp,rem,repeat,reverse,rtos,set,set_tile,setcfg
1580
  KeyWords1 setenv,setfunhelp,setq,setvar,setview,sin,slide_image,snvalid
1581
  KeyWords1 sqrt,ssadd,ssdel,ssget,ssgetfirst,sslength,ssmemb,ssname
1582
  KeyWords1 ssnamex,sssetfirst,startapp,start_dialog,start_image
1583
  KeyWords1 start_list,strcase,strcat,strlen,subst,substr,T,tablet
1584
  KeyWords1 tblnext,tblobjname,tblsearch,term_dialog,terpri,textbox
1585
  KeyWords1 textpage,textscr,trace,trans,type,unload_dialog,untrace
1586
  KeyWords1 vector_image,ver,vports,wcmatch,while,write-char,write-line
1587
  KeyWords1 xdroom,xdsize,zerop
1588
  KeyWords2 vl-acad-defun,vl-acad-undefun,vl-arx-import,vl-bb-ref
1589
  KeyWords2 vl-bb-set,vl-catch-all-apply,vl-catch-all-error-message
1590
  KeyWords2 vl-catch-all-error-p,vl-cmdf,vl-consp,vl-directory-files
1591
  KeyWords2 vl-doc-export,vl-doc-import,vl-doc-ref,vl-doc-set,vl-every
1592
  KeyWords2 vl-exit-with-error,vl-exit-with-value,vl-file-copy
1593
  KeyWords2 vl-file-delete,vl-file-directory-p,vl-file-rename
1594
  KeyWords2 vl-file-size,vl-file-systime,vi-filename-base
1595
  KeyWords2 vl-filename-directory,vl-filename-extension
1596
  KeyWords2 vl-filename-mktemp,vl-get-resource,vl-list*,vl-list->string
1597
  KeyWords2 vl-list-exported-functions,vl-list-length,vl-list-loaded-vix
1598
  KeyWords2 vl-load-all,vl-load-com,vl-load-reactors,vl-member-if
1599
  KeyWords2 vl-member-if-not,vl-position,vl-prin1-to-string
1600
  KeyWords2 vl-princ-to-string,vl-propagate,vl-registry-delete
1601
  KeyWords2 vl-registry-descendents,vl-registry-read,vl-registry-write
1602
  KeyWords2 vl-remove,vl-remove-if,vl-remove-if-not,vl-some,vl-sort
1603
  KeyWords2 vl-sort-i,vl-string->list,vl-string-elt,vl-string-left-trim
1604
  KeyWords2 vl-string-mismatch,vl-string-position,vl-string-right-trim
1605
  KeyWords2 vl-string-search,vl-string-subst,vl-string-translate
1606
  KeyWords2 vl-string-trim,vl-symbol-name,vl-symbol-value,vl-symbolp
1607
  KeyWords2 vl-unload-vix,vl-vbaload,vl-vbarun,vl-vlx-loaded-p
1608
  KeyWords2 vlax-3D-point,vlax-add-cmd,vlax-create-object
1609
  KeyWords2 vlax-curve-getArea,vlax-curve-getDistAtParam
1610
  KeyWords2 vlax-curve-getDistAtPoint,vlax-curve-getEndParam
1611
  KeyWords2 vlax-curve-getEndPoint,vlax-curve-getParamAtDist
1612
  KeyWords2 vlax-curve-getParamAtPoint,vlax-curve-getPointAtDist
1613
  KeyWords2 vlax-curve-getPointAtParam,vlax-curve-getStartParam
1614
  KeyWords2 vlax-curve-getStartPoint,vlax-curve-isClosed
1615
  KeyWords2 vlax-curve-isPeriodic,vlax-curve-isPlanar
1616
  KeyWords2 vlax-curve-getClosestPointTo
1617
  KeyWords2 vlax-curve-getClosestPointToProjection
1618
  KeyWords2 vlax-curve-getFirstDeriv,vlax-curve-getSecondDeriv
1619
  KeyWords2 vlax-dump-object,vlax-ename->vla-object,vlax-erased-p
1620
  KeyWords2 vlax-for,vlax-get-acad-object,vlax-get-object
1621
  KeyWords2 vlax-get-or-create-object,vlax-get-property
1622
  KeyWords2 vlax-import-type-library,vlax-invoke-method
1623
  KeyWords2 vlax-ldata-delete,vlax-ldata-get,vlax-ldata-list
1624
  KeyWords2 vlax-ldata-put,vlax-ldata-test,vlax-make-safearray
1625
  KeyWords2 vlax-make-variant,vlax-map-collection
1626
  KeyWords2 vlax-method-applicable-p,vlax-object-released-p
1627
  KeyWords2 vlax-product-key,vlax-property-available-p
1628
  KeyWords2 vlax-put-property,vlax-read-enabled-p,vlax-release-object
1629
  KeyWords2 vlax-remove-cmd,vlax-safearray-fill,vlax-safearray-get-dim
1630
  KeyWords2 vlax-safearray-get-element,vlax-safearray-get-l-bound
1631
  KeyWords2 vlax-safearray-get-u-bound,vlax-safearray-put-element
1632
  KeyWords2 vlax-safearray-type,vlax-safearray->list,vlax-tmatrix
1633
  KeyWords2 vlax-typeinfo-available-p,vlax-variant-change-type
1634
  KeyWords2 vlax-variant-type,vlax-variant-value,vlax-vla-object->ename
1635
  KeyWords2 vlax-write-enabled-p,vlisp-compile,vlr-acdb-reactor
1636
  KeyWords2 vlr-add,vlr-added-p,vlr-beep-reaction,vlr-command-reactor
1637
  KeyWords2 vlr-current-reaction-name,vlr-data,vlr-data-set
1638
  KeyWords2 vlr-deepclone-reactor,vlr-docmanager-reactor,vlr-dwg-reactor
1639
  KeyWords2 vlr-dxf-reactor,vlr-editor-reactor,vlr-insert-reactor
1640
  KeyWords2 vlr-linker-reactor,vlr-lisp-reactor,vlr-miscellaneous-reactor
1641
  KeyWords2 vlr-mouse-reactor,vlr-notification,vlr-object-reactor
1642
  KeyWords2 vlr-owner-add,vlr-owner-remove,vlr-owners,vlr-pers
1643
  KeyWords2 vlr-pers-list,vlr-pers-p,vlr-pers-release,vlr-reaction-names
1644
  KeyWords2 vlr-reaction-set,vlr-reactions,vlr-reactors,vlr-remove
1645
  KeyWords2 vlr-remove-all,vlr-set-notification,vlr-sysvar-reactor
1646
  KeyWords2 vlr-toolbar-reactor,vlr-trace-reaction,vlr-type,vlr-types
1647
  KeyWords2 vlr-undo-reactor,vlr-wblock-reactor,vlr-window-reactor
1648
  KeyWords2 vlr-xref-reactor
9361 leency 1649
END
1650
 
9905 leency 1651
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1652
; DCL (AutoCAD dialogs)
1653
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1654
FILES *.DCL
1655
  GeneralFlags 65
1656
  StringFlags 33
1657
  Comment /* */
1658
  CommentString //
1659
  MultiLineComment 1
1660
  RegKeyWords Color LightCyan {,}
1661
  RegKeyWords Color White :,=,;
1662
  KeyWords1 action,alignment,allow_accept,aspect_ratio,big_increment
1663
  KeyWords1 children_alignment,children_fixed_height
1664
  KeyWords1 children_fixed_width,color,edit_limit,edit_width,fixed_height
1665
  KeyWords1 fixed_width,fixed_width_font,height,initial_focus,is_bold
1666
  KeyWords1 is_cancel,is_default,is_enabled,is_tab_stop,key,label,layout
1667
  KeyWords1 list,max_value,min_value,mnemonic,multiple_select
1668
  KeyWords1 password_char,small_increment,tabs,tab_truncate,value,width
1669
  KeyWords1 horizontal_margin,vertical_margin,type,boxed
1670
  KeyWords1 dialog,cluster,radio_cluster,tile,text,image,button
1671
  KeyWords1 image_button,toggle,radio_button,list_box,edit_box,popup_list
1672
  KeyWords1 slider,spacer,errmsg,horizontal_alignment,vertiacal_alignment
1673
  KeyWords2 row,column,boxed_row,boxed_column,radio_row,radio_column
1674
  KeyWords2 boxed_radio_row,boxed_radio_column,concatenation,paragraph
1675
  KeyWords2 text_part,text_25,spacer_0,spacer_1,default_button
1676
  KeyWords2 retirement_button,ok_button,cancel_button,help_button
1677
  KeyWords2 info_button,ok_only,ok_cancel,ok_cancel_help
1678
  KeyWords2 ok_cancel_help_info,errtile,ok_cancel_help_errtile
1679
  KeyWords2 ok_cancel_err,default_dcl_settings,image_block,icon_image
1680
  KeyWords2 edit12_box,edit32_box,swatch,color_palette_1_7
1681
  KeyWords2 color_palette_1_9,color_palette_0_9,color_palette_250_255
1682
  KeyWords2 std_rq_color,files_topdf,files_bottomdf,fcf_ibut,fcf_ebox
1683
  KeyWords2 fcf_ebox1,fcf_ibut1
1684
  KeyWords3 none,true,false,left,top,right,bottom,centered,horizontal
1685
  KeyWords3 vertical,audit_level,max_lines,help_on_help_filename
1686
  KeyWords3 help_on_help_label
1687
  KeyWords3 dialog_line,dialog_foreground,dialog_background
1688
  KeyWords3 graphics_background,black,red,yellow,green,cyan,blue,magenta
1689
  KeyWords3 white,graphics_foreground
9361 leency 1690
END
1691
 
9905 leency 1692
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1693
; TeX
1694
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1695
FILES *.TEX;*.DTX;*.STY;*.BST;*.IST
1696
  GeneralFLAGS 88
1697
  StringFlags 192
1698
  CommentString %
1699
  OptimalFill On
1700
  BracketPairs begin end
1701
;  ColorKeyWords On
1702
  AutoBrackets  On
1703
  KeyWords1     document,bold,italic,margin,newpage,bigskip,noindent
1704
  RegKeyWords Color red \\footnote{[a-z].*}
1705
  RegKeyWords Color yellow {[a-z].*}
1706
; this should highlight all chapter lines...
1707
  RegKeyWords Color white/lightblue \\((sub|)*paragraph|(sub|)*section|chapter|part)(\[.*\]|)\{.*\}
1708
; this should highlight all KeyWords
1709
  RegKeyWords color lightred \\[\w]*
1710
  Macro 1
1711
    GoToX 0
1712
    InsLine
1713
    Print '%==============================================='^M^S
1714
    Print '%'^M^S
1715
    Print '%'^M^S
1716
    Print '%'^M^S
1717
    Print '%==============================================='^M^S
1718
  EndMacro
1719
  Macro 2
1720
    GotoX 0
1721
    InsLine
1722
    Print '%'^M^S
1723
    Print '%'^M^S
1724
    Print '%'^M^S
1725
  EndMacro
1726
  Macro 3
1727
; Swap Chars (as in vi "xp"). Place cursor on SECOND character
1728
   BlockStart
1729
   Print ^D
1730
   BlockEnd
1731
   Cut
1732
   Print ^S
1733
   Paste
1734
  EndMacro
1735
;Join Lines
1736
  Macro 4
1737
   Print ^E
1738
   End
1739
   DelWordRight
1740
   Print ' '
1741
  EndMacro
1742
  Macro 5
1743
    Print '\textit{ }'
1744
    MoveLeft 2
1745
  EndMacro
1746
  Macro 6
1747
    Print '\textbf{ }'
1748
    MoveLeft 2
1749
  EndMacro
1750
  Macro 7
1751
    Print '\textit{888 }'
1752
    MoveLeft 2
1753
  EndMacro
1754
  Macro 8
1755
    GoToX 0
1756
    InsLine
1757
    Print '          \marginpar{\scriptsize{}}'
1758
    MoveLeft 2
1759
  EndMacro
1760
  Macro 9
1761
    GotoX 0
1762
    Print '\bigskip'
1763
  EndMacro
9361 leency 1764
END
1765
 
9905 leency 1766
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1767
; V+
1768
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1769
FILES *.V2
1770
  AutoBrackets Off
1771
  MultiLineComment 0
1772
  CommentString ;
1773
  GeneralFLAGS 64
1774
  StringFLAGS 32
1775
  KeyWords1 auto,global,local,.program,if,not,define,.end,end,then,else
1776
  KeyWords1 .doubles,.locations,.strings,.reals
1777
  KeyWords2 call,type,abs,do,exit,for,to,until,case,value,of,true,false,any
1778
  KeyWords2 and,or,return,while,enable,disable,attach,detach,$encode,getc
1779
  KeyWords2 $mid,len,abort,execute,fopen,fclose,fcmnd,read,write,$chr,sig
1780
  KeyWords2 tool,break,close,closei,move,moves,departs,below,ready,iostat
1781
  KeyWords2 goto,strdif,val,wait,min,max,open,openi,trans,mod,fset,gpanel
1782
  KeyWords2 gcolor,gtype,getevent,garc,gflood,gtexture,fdelete,speed,decompose
1783
  KeyWords2 here,prompt,ignore,set,calibrate,react,dos,reacte,bits,accel,drive
1784
  BracketPairs program;case;if;for end until;while do
9361 leency 1785
END
1786
 
9905 leency 1787
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1788
; CSS Files: case insensitive; adapted from the CSS1 W3C specification at http://www.w3.org/TR/REC-CSS1
1789
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1790
FILES *.CSS
1791
   GeneralFlags 0
1792
   Comment /* */
1793
   KeyWords1 A,BODY,DIV,EM,H1,H2,H3,HTML,P
1794
   KeyWords2 link,visited,active,first-line,first-letter
1795
   KeyWords3 font-family,font-style,font-weight,font-variant,font
1796
   KeyWords4 bold,bolder,lighter,
1797
   KeyWords4 italic,small-caps
1798
   KeyWords4 xx-small,x-small,small,medium,large,x-large,xx-large,larger,smaller
1799
   KeyWords4 normal,none,url
1800
   KeyWords3 word-spacing,letter-spacing,text-decoration
1801
   KeyWords4 underline,overline,line-through,blink
1802
   KeyWords3 color,background-color,background,background-image,background-attachment,background-repeat,background-position
1803
   KeyWords4 transparent,rgb
1804
   KeyWords3 vertical-align
1805
   KeyWords4 baseline,sub,super,top,text-top,middle,bottom,text-bottom,top,bottom
1806
   KeyWords3 text-transform
1807
   KeyWords4 capitalize,uppercase,lowercase
1808
   KeyWords3 text-align
1809
   KeyWords4 left,right,center,justify
1810
   KeyWords3 text-indent,line-height
1811
   KeyWords3 margin-top,margin-right,margin-bottom,margin-left,margin
1812
   KeyWords3 padding-top,padding-right,padding-bottom,padding-left,,padding
1813
   KeyWords3 border-top-width,border-right-width,border-bottom-width,border-left-width,border-width
1814
   KeyWords4 thin,medium,thick
1815
   KeyWords3 border-color
1816
   KeyWords3 border-style
9361 leency 1817
 
9905 leency 1818
   KeyWords COLOR lightcyan aqua
1819
   KeyWords COLOR black black
1820
   KeyWords COLOR lightblue blue
1821
   KeyWords COLOR lightmagenta fuchsia
1822
   KeyWords COLOR darkgray gray
1823
   KeyWords COLOR green green
1824
   KeyWords COLOR lightgreen lime
1825
   KeyWords COLOR red maroon
1826
   KeyWords COLOR blue navy
1827
   KeyWords COLOR brown olive
1828
   KeyWords COLOR magenta purple
1829
   KeyWords COLOR lightred red
1830
   KeyWords COLOR lightgray silver
1831
   KeyWords COLOR cyan teal
1832
   KeyWords COLOR white white
1833
   KeyWords COLOR yellow yellow
9361 leency 1834
END
1835
 
9905 leency 1836
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1837
; LUA files
1838
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1839
FILES *.LUA
1840
  AutoBrackets  Off
1841
  CommentString --
1842
  GeneralFLAGS  65
1843
  StringFLAGS   3
1844
  BracketPairs  function;do;then end for do
1845
  KeyWords1     and,break,do,else,elseif,false,for,function,if,end
1846
  KeyWords1     in,local,nil,not,or,repeat,return,then,true,until,while
1847
  KeyWords2     assert,collectgarbage,dofile,error,gcinfo,loadfile,loadstring
1848
  KeyWords2     print,tonumber,tostring,type,unpack
1849
  KeyWords3     call,dostring,foreach,foreachi,getn,globals,newtype
1850
  KeyWords3     rawget,rawset,require,sort,tinsert,tremove
1851
  KeyWords4     abs,acos,asin,atan,atan2,ceil,cos,deg,exp
1852
  KeyWords4     floor,format,frexp,gsub,ldexp,log,log10,max,min,mod,rad,random,randomseed
1853
  KeyWords4     sin,sqrt,strbyte,strchar,strfind,strlen,strlower,strrep,strsub,strupper,tan
1854
  KeyWords5     openfile,closefile,readfrom,writeto,appendto
1855
  KeyWords5     remove,rename,flush,seek,tmpfile,tmpname,read,write
1856
  KeyWords5     clock,date,difftime,execute,exit,getenv,setlocale,time
1857
  KeyWords6     string.byte,string.char,string.dump,string.find,string.len
1858
  KeyWords6     string.lower,string.rep,string.sub,string.upper,string.format,string.gfind,string.gsub
1859
  KeyWords6     table.concat,table.foreach,table.foreachi,table.getn,table.sort,table.insert,table.remove,table.setn
1860
  KeyWords6     math.abs,math.acos,math.asin,math.atan,math.atan2,math.ceil,math.cos,math.deg,math.exp
1861
  KeyWords6     math.floor,math.frexp,math.ldexp,math.log,math.log10,math.max,math.min,math.mod
1862
  KeyWords6     math.pi,math.rad,math.random,math.randomseed,math.sin,math.sqrt,math.tan
1863
  ColorKeyWords on
1864
  HIGHLIGHT     on
9361 leency 1865
  Macro 1
1866
    GoToX 0
1867
    InsLine
9905 leency 1868
    Print '/*****************************************************************'^M^S
1869
    Print ' *'^M^S
1870
    Print ' *'^M^S
1871
    Print ' *'^M^S
1872
    Print ' *****************************************************************/'^M^S
1873
    Print ^X^E^E^E^E^D^D^D
9361 leency 1874
  EndMacro
1875
  Macro 2
1876
    GotoX 0
1877
    InsLine
9905 leency 1878
    Print '/*'^M^S
1879
    Print ' *'^M^S
1880
    Print ' */'^M^S
1881
    Print ^X^E^G^E^E^D^D^D
9361 leency 1882
  EndMacro
9905 leency 1883
  Macro 3
1884
    GoToX 0
1885
    Print '/*******************************************************************************/'^M^S
1886
    Print '/*---- ------------------------------------------------------------------------*/'^M^S
1887
    Print '/*******************************************************************************/'^M^S
1888
    Print ^E^E^D^D^D^D^D^D^D
1889
    SwitchIns
1890
  EndMacro
1891
  Macro 4
1892
    GoToX 0
1893
    Print '/* --------------------------------------- */'^M^S
1894
    Print '/*  */'^M^S
1895
    Print '/* --------------------------------------- */'^M^S
1896
    Print ^E^E^D^D^D
1897
  EndMacro
1898
END
9361 leency 1899
 
9905 leency 1900
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1901
; GRUB config files
1902
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1903
FILES MENU.LST;GRUB.CONF;>#.*?menu.lst<
1904
  GeneralFlags 8
1905
  CommentStart #
1906
  ColorKeyWords On
1907
  RegKeyWords color red \([hf]d\d{1}(|\,\d{1})\)
1908
  RegKeyWords color lightgray ^title.+$
1909
  KeyWords1 color,timeout,default
1910
  KeyWords2 find,chainloader,savedefault,configfile,root,rootnoverify,boot
1911
  KeyWords2 reboot,quit,commandline,halt,map
1912
  RegKeyWords color green ^fallback[ ]\d*$
9361 leency 1913
END
1914
 
9905 leency 1915
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1916
; TCL-Script files
1917
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1918
FILES *.tcl
1919
  Generalflags 1
1920
  Stringflags 1
1921
  Commentstring #
1922
  ColorKeyWords ON
1923
  TabSize 4
9361 leency 1924
 
9905 leency 1925
; internal KeyWords
1926
  KeyWords1 set,unset,incr,string,length,bytelength,compare,equal,index,is,map,match
1927
  KeyWords1 range,repeat,replace,tolower,totitle,toupper,trim,trimleft,trimright
1928
  KeyWords1 puts,regexp,llength,lrange,lsearch,lindex,lsort,linsert,expr,catch
1929
  KeyWords1 if,elseif,else,for,foreach,while,proc,namespace,eval,default,variable
1930
  KeyWords1 regsub,append,lappend,binary,format,scan,split,global,socket
1931
; common KeyWords
1932
  KeyWords2 argc,argv,argv0
1933
; type identifiers
1934
  KeyWords3 list,array
1935
; TK commands
1936
  KeyWords4 bell,entry,loadTk,raise,tk_focusFollowsMouse,tk_textPaste
1937
  KeyWords4 bind,event,lower,scale,tk_focusNext,tkerror
1938
  KeyWords4 bindtags,focus,menu,scrollbar,tk_focusPrev,tkvars
1939
  KeyWords4 bitmap,font,menubutton,selection,tk_getOpenFile,tkwait
1940
  KeyWords4 button,frame,message,send,tk_getSaveFile,toplevel
1941
  KeyWords4 canvas,grab,option,spinbox,tk_menuSetFocus,winfo
1942
  KeyWords4 checkbutton,grid,options,text,tk_messageBox,wm
1943
  KeyWords4 clipboard,image,pack,tk,tk_optionMenu
1944
  KeyWords4 colors,keysyms,panedwindow,tk_bisque,tk_popup
1945
  KeyWords4 console,label,photo,tk_chooseColor,tk_setPalette
1946
  KeyWords4 labelframe,place,tk_chooseDirectory,tk_textCopy
1947
  KeyWords4 destroy,listbox,radiobutton,tk_dialog,tk_textCut
1948
END
9361 leency 1949
 
1950
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
9905 leency 1951
; COBOL
1952
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
1953
FILES *.CBL;*.COB
1954
  StringFlags 131
1955
  CommentStart *,*>
1956
  CommentStartPos 6
1957
  RegKeyWords color lightgray [A-Z]*\-[A-Z]*
1958
  RegKeyWords color LightRed [.]
1959
  RegKeyWords color LightRed [:]
1960
  RegKeyWords color Lightgray [A-Z]*\-[0-9]*
1961
  BracketPairs IF END-IF PERFORM END-PERFORM
1962
  KeyWords2 ACCEPT,ACCESS,ADD,ADDRESS,ADVANCING,AFTER,ALL,ALLOWING,
1963
  KeyWords2 ALPHABET,ALPHABETIC,ALPHABETIC-LOWER,ALPHABETIC-UPPER,
1964
  KeyWords2 ALPHANUMERIC,ALPHANUMERIC-EDITED,ALSO,ALTER,ALTERNATE,
1965
  KeyWords2 AND,ANY,APPLY,ARE,AREA,AREAS,ARITHMETIC,AS,ASCENDING,
1966
  KeyWords2 ASSIGN,AT,AUTHOR,B-AND,BASED-STORAGE,BASED,STORAGE,BASIS,BEFORE,BEGIN
1967
  KeyWords2 BEGINNING,B-EXOR
1968
  KeyWords2 BETWEEN,BINARY,BIT,BITS,BLANK,B-LESS,BLOCK,B-NOT,BOOLEAN,B-OR,
1969
  KeyWords2 BOTTOM,BY,CALL,CANCEL,CBL,CD,CF,CH,CHARACTER,CHARACTERS,
1970
  KeyWords2 CLASS,CLASS-ID,CLOCK-UNITS,COBOL,CODE,CODE-SET,
1971
  KeyWords2 COLLATING,COLUMN,COMMA,COMMAND,COMMON,COMMUNICATION,COMPUTE,
1972
  KeyWords2 COM-REG,CONFIGURATION,CONTAINED,CONTAINS,
1973
  KeyWords2 CONTENT,CONTINUE,CONTROL,CONTROL-AREA,CONTROLS,CONSOLE,CONSTANT,
1974
  KeyWords2 CONVERTING,COPY,CORR,CORRESPONDING,COUNT,CURRENCY,
1975
  KeyWords2 CURRENT,CURSOR,CUSTOM-ATTRIBUTE,CYCLE,DATE,DATE-COMPILED,DATE-WRITTEN,DAY,
1976
  KeyWords2 DAY-OF-WEEK,DB,DB-ACCESS-CONTROL-KEY,DBCS,DB-DATA-NAME,
1977
  KeyWords2 DB-EXCEPTION,DB-RECORD-NAME,DB-SET-NAME,DB-STATUS,DE,DEBUG
1978
  KeyWords2 ITEM,DEBUG-NAME,DEBUG-SUB,DEBUG-CONTENTS,DEBUGGING,
1979
  KeyWords2 DEBUG-ITEM,DEBUG-LINE,DEBUG-SUB-1,
1980
  KeyWords2 DEBUG-SUB-2,DEBUG-SUB-3,DECIMAL-POINT,DECLARATIVES,
1981
  KeyWords2 DEFAULT,DELEGATE,DELEGATE-ID,
1982
  KeyWords2 DELIMITED,DELIMITER,DEPENDING,DESCENDING,
1983
  KeyWords2 DESTINATION,DESTINATION-,DETAIL,DISABLE,DISPLAY,DISPLAY-,
1984
  KeyWords2 DISPLAY-1,DISPLAY-2,DISPLAY-3,DISPLAY-4,DISPLAY-5,
1985
  KeyWords2 DISPLAY-6,DISPLAY-7,DISPLAY-8,DISPLAY-9,DIVIDE,DOWN,
1986
  KeyWords2 DUPLICATE,DUPLICATES,DYNAMIC,EGCS,EGI,EJECT,ELSE,EMI,
1987
  KeyWords2 EMPTY,ENABLE,END,END-ADD,END-CALL,END-CLASS,END-COMPUTE,END
1988
  KeyWords2 END-DELEGATE, END DELEGATE,
1989
  KeyWords2 END-DISABLE,END-DIVIDE,END-ENABLE,END-ENUM,END-EVALUATE,
1990
  KeyWords2 END-IF,ENDING,END-INVOKE,END-MULTIPLY,END-OF-PAGE,END-PERFORM,
1991
  KeyWords2 END-RECEIVE,END-RETURN,END-CH,
1992
  KeyWords2 END-SEND,END-START,END-STRING,END-SUBTRACT,END-
1993
  KeyWords2 TRANSCEIVE,END-UNSTRING,ENTER,ENTRY,ENUM,ENUM-ID,ENUM ID,EOP,
1994
  KeyWords2 EQUAL,EQUALS,ERASE,ERROR,ESI,EVALUATE,EVERY,EXACT,EXAMINE,EXCEEDS
1995
  KeyWords2 EXCEPTION,EXCEPTION-OBJECT,EXCLUSIVE,EXIST,EXIT,EXTEND,EXTERNAL,F,FACTORY,FALSE,FD,
1996
  KeyWords2 FILE-CONTROL,FILE-LIMITS,FILE,FILES,
1997
  KeyWords2 FINAL,FIND,FINISH,FIRST,FOOTING,FORM,FORMAT,FREE,FROM,
1998
  KeyWords2 FUNCTION,GENERATE,GET,GIVING,GLOBAL,GO,GOBACK,
1999
  KeyWords2 GREATER,GROUP,HAVING,HEADING,HIGH VALUE,HIGH-VALUE,HIGH-VALUES,
2000
  KeyWords2 ID,IF,IN,INPUT-OUTPUT,INCLUDE,INDEX,INDEXED,
2001
  KeyWords2 INDICATE,INHERITS,INITIAL,INITIALIZE,INITIATE,INPUT,
2002
  KeyWords2 INSPECT,INSTALLATION,INTERFACE,INTERFACE-ID,INTO,INVALID,
2003
  KeyWords2 INVOKE,I-O,I-O-CONTROL,IS,JUST,JUSTIFIED,KANJI,KEEP,KEY,
2004
  KeyWords2 LABEL,LAST,LD,LEADING,LEFT,LENGTH,LESS,LIMIT,LIMITS,
2005
  KeyWords2 LINAGE,LINAGE-COUNTER,LINE,LINE COUNTER,LINE-COUNTER,
2006
  KeyWords2 LINES,LINKAGE,LIKE,LOCALLY,LOCAL-STORAGE,LOCK,LOW-VALUE,LOW-
2007
  KeyWords2 VALUES,LS-AREA,MEMBER,MEMORY,MERGE,MESSAGE,METACLASS,
2008
  KeyWords2 METHOD,METHOD-ID,MODE,MODE-,MODIFY,MODULES,MORE LABELS,MORE-
2009
  KeyWords2 LABELS,MOVE,MULTIPLE,MULTIPLY,NATIVE,NEGATIVE,NEXT,NO,
2010
  KeyWords2 NORMAL,NOT,NULL,NULLS,NUMBER,NUMERIC,NUMERIC EDITED,
2011
  KeyWords2 NUMERIC-EDITED,OBJECT-COMPUTER,OBJECT,OCCURS,OF,OFF,
2012
  KeyWords2 OMITTED,ON,ONLY,OPTIONAL,OR,ORDER,ORGANIZATION,
2013
  KeyWords2 OTHER,OUTPUT,OVERFLOW,OVERRIDE,OWNER,
2014
  KeyWords2 PADDING,PAGE,PAGE COUNTER,PAGE-COUNTER,
2015
  KeyWords2 PASSWORD,PERFORM,PF,PH,PLUS,
2016
  KeyWords2 POINTER,POSITION,POSITIONING,POSITIVE,PRESENT,PREVIOUS,PRINTING,PRIOR,
2017
  KeyWords2 PRIVATE,PROCEDURE-POINTER,PROCEDURES,PROCEED,PROCESS,PROCESSING,
2018
  KeyWords2 PROGRAM,PROGRAM-ID,PROTECTED,PROTOTYPE,PUBLIC,PURGE,QUEUE,QUOTE,QUOTES,
2019
  KeyWords2 RAISE,RAISING,RANDOM,RANGE,RD,READY,REALM,RECEIVE,RECONNECT,RECORD,
2020
  KeyWords2 RECORDING,RECORD-NAME,RECORDS,RECURSIVE,REDEFINES,REEL,
2021
  KeyWords2 REFERENCE,REFERENCES,RELATION,RELATIVE,RELEASE,RELOAD,
2022
  KeyWords2 REMAINDER,REMARKS,REMOVAL,RENAMES,REPEATED,REPLACE,REPLACING,
2023
  KeyWords2 REPORT,REPORTING,REPORTS,REPOSITORY,RERUN,RESERVE,RESET,
2024
  KeyWords2 RETAINING,RETRIEVAL,RETURN,RETURN-CODE,RETURNING,
2025
  KeyWords2 REVERSED,REWIND,RF,RH,RIGHT,ROUNDED,
2026
  KeyWords2 RUN,SAME,SCREEN,SD,SEARCH,SECURITY,SEGMENT,SEGMENT-
2027
  KeyWords2 LIMIT,SELF,SEND,SENTENCE,SEPARATE,SEQUENCE,
2028
  KeyWords2 SEQUENTIAL,SERVICE,SESSION,SESSION-ID,SET,SHARED,SHIFT-IN,SHIFT-
2029
  KeyWords2 OUT,SIGN,SIZE,SKIP,SORT,SORT-CONTROL
2030
  KeyWords2 SORT-CORE-SIZE,SORT-FILE-SIZE,SORT-MERGE,SORT-MESSAGE,
2031
  KeyWords2 SORT-MODE-SIZE,SORT-RETURN,SORT-STATUS,SOURCE,SOURCE-COMPUTER,SPACE,
2032
  KeyWords2 SPACES,SPECIAL-NAMES,STANDARD,STANDARD-,START,STATIC,
2033
  KeyWords2 STATUS,STOP,STORE,STRING,
2034
  KeyWords2 SUB-QUEUE-,SUB-SCHEMA,SUBTRACT,SUFFIX,SUM,SUPER,
2035
  KeyWords2 SUPPRESS,SYMBOLIC,SYNC,SYNCHRONIZED,TABLE,TALLY,
2036
  KeyWords2 TALLYING,TAPE,TENANT,TERMINAL,TERMINATE,TEST,TEXT,THAN,
2037
  KeyWords2 THEN,THROUGH,THRU,TIME,TIMEOUT,TIMES,TITLE,TO,TOP,TRACE,
2038
  KeyWords2 TRAILING,TRANSCEIVE,TRUE,TYPE,TYPEDEF,UNEQUAL,UNIT,UNSTRING,
2039
  KeyWords2 UNLOCK,UNTIL,UP,UPON,USAGE,USAGE-MODE,USE,USING,VALID,
2040
  KeyWords2 VALIDATE,VALUE,VALUES,VARYING,WAIT,WHEN,WHENEVER,WHEN-COMPILED,WHERE,
2041
  KeyWords2 WITH,WITHIN,WORDS,WORKING-STORAGE,WRITE-ONLY,ZERO,ZEROES,ZEROS,
2042
  KeyWords2 BINARY,BINARY-,BIT,BYTE,COMPUTATIONAL,COMPUTATIONAL-1,COMPUTATIONAL-2,COMPUTATIONAL-3,
2043
  KeyWords2 COMPUTATIONAL-4,COMPUTATIONAL-5,COMPUTATIONAL-X,COMPUTATIONAL-N,
2044
  KeyWords2 COMPUTATIONAL-4,COMPUTATIONAL-5,COMPUTATIONAL-X,COMPUTATIONAL-N,
2045
  KeyWords2 REFERENCE,SIGNED,UNSIGNED,POINTER,PROPERTY,
2046
  KeyWords2 PACKED-DECIMAL,COMP-6,COMP-7,COMP-8,COMP-X,COMP-N,COMPLEX
2047
  KeyWords2 PIC,PICTURE,COMP-1,COMP2-,COMP-3,COMP-5,COMP-9,PACKED DECIMAL
2048
  KeyWords1 ENVIRONMENT DIVISION,DATA DIVISION,PROGRAM,PROCEDURE DIVISION,
2049
  KeyWords1 IDENTIFICATION DIVISION,SECTION,PARAGRAPH,
2050
  KeyWords1 END-PROGRAM,END PROGRAM,
2051
  KeyWords4 S9,V9
2052
  KeyWords6 CONNECT,COMMIT,DECLARE,DELETE,DISCONNECT,EXEC,EXECUTE,
2053
  KeyWords6 EXECUTE IMMEDIATE,END-EXEC,FETCH,FOR,INSERT,
2054
  KeyWords6 PREPARE,ROLLBACK,SELECT,UPDATE,
2055
  KeyWords6 CLOSE,OPEN,READ,REWRITE,WRITE,END-READ,END-WRITE,END-REWRITE,END-DELETE
9361 leency 2056
END
9905 leency 2057
 
2058
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
2059
; Rich Text Format files: case sensitive
2060
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
2061
FILES *.RTF
2062
  GeneralFLAGS 1
2063
  StringFlags 2
2064
  BracketPairs { }
2065
  KeyWords1 \line,\par,\pard
2066
  RegKeyWords COLOR Cyan \\cf\d+
2067
  RegKeyWords COLOR Green (?
2068
  Macro 1
2069
    Print {\rtf1 }
2070
  EndMacro
2071
END
2072
 
2073
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
2074
; DEFAULT
2075
;ออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออออ
2076
FILES *.*
2077
  GeneralFLAGS  526
2078
end