home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
TEKST
/
AURORA2
/
SYNTAX2.AML
< prev
next >
Wrap
Text File
|
1995-04-28
|
11KB
|
201 lines
// ───────────────────────────────────────────────────────────────────
// The Aurora Editor v2.0
// Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
//
// Additional syntax highlighting definitions
// (supplement to SYNTAX.AML)
//
// To activate a syntax highlighting definition contained in this file,
// copy it to SYNTAX.AML. Then modify the 'onsyntax' function in
// SYNTAX.AML to associate a filename with the new syntax object. Select
// 'Recompile the Editor' <alt f2> from the Set menu and exit and
// re-enter the editor for your changes to take effect.
//
// Note: to conserve editor resources, copy only the syntax
// highlighting definitions you actually use.
// ───────────────────────────────────────────────────────────────────
// syntax highlighting for Pascal files (.PAS, .INC)
object pas
syntax
'bfin' // options:
// b=show through marked block
// c=don't highlight cursor line
// f=use only foreground colors
// i=ignore keyword case
// n=highlight numbers
'()[].=+-*/:;<>,@#' // symbol set
'"\'' // string characters
'' // string literal char
'$' // numeric char
'' 0 // eol comment 1 / start column
'' 0 // eol comment 2 / start column
'{' '}' // multi-line comment 1
'(*' '*)' // multi-line comment 2
0 // number of lines to scan backward
color brightcyan on black // keyword color
color gray on cyan // symbol color
color brightred on black // string color
color brightred on black // numeric color
color brightgreen on black // eol1 comment color
color yellow on black // eol2 comment color
color brightgreen on black // comment1 color
color brightcyan on black // comment2 color
keyword
absolute, and, array, asm, assembler, begin, boolean, byte, case,
char, comp, const, constructor, destructor, div, do, double,
downto, else, end, exit, export, extended, external, false, far,
file, for, forward, function, goto, if, implementation, in, index,
inherited, inline, integer, interface, interrupt, label, library,
longint, mod, name, near, nil, not, object, of, or, ord, packed,
private, procedure, program, public, real, record, repeat,
resident, set, shl, shortint, shr, single, string, then, to, true,
type, unit, until, uses, var, virtual, while, with, word, xor
// syntax highlighting for BASIC files (.BAS, .BI)
object basic
syntax
'bfin' // options:
// b=show through marked block
// c=don't highlight cursor line
// f=use only foreground colors
// i=ignore keyword case
// n=highlight numbers
'()=+-*/<>!#$%^' // symbol set
'"' // string characters
'' // string literal char
'' // numeric char
"'" 0 // eol comment 1 / start column
'rem' 0 // eol comment 2 / start column
'' '' // multi-line comment 1
'' '' // multi-line comment 2
0 // number of lines to scan backward
color brightcyan on black // keyword color
color gray on cyan // symbol color
color brightred on black // string color
color brightred on black // numeric color
color brightgreen on black // eol1 comment color
color yellow on black // eol2 comment color
color brightgreen on black // comment1 color
color brightcyan on black // comment2 color
keyword
abs, access, alias, all, and, any, append, asc, as, atn, base,
beep, begintrans, binary, bload, bof, bsave, byval, calls, call,
case, ccur, cdbl, cdecl, chain, chdir, chdrive, checkpoint, chr$,
cint, circle, clear, clng, close, cls, color, command$,
committrans, common, com, const, cos, createindex, csng, csrlin,
curdir$, currency, cvc, cvdmbf, cvd, cvi, cvl, cvsmbf, cvs, data,
date$, declare, defcur, defdbl, defint, deflng, defsng, defstr,
def, deleteindex, deletetable, delete, dim, dir$, double, do,
draw, elseif, else, endif, end, environ$, environ, eof, eqv,
erase, erdev$, erdev, erl, error, err, event, exit, exp, field,
fileattr, files, fix, for, freefile, fre, function, getindex$,
get, gosub, goto, go, hex$, if, imp, inkey$, input$, input, inp,
insert, instr, integer, int, ioctl$, ioctl, isam, is, key, kill,
lbound, lcase$, left$, len, let, line, list, local, locate, lock,
loc, lof, log, long, loop, lpos, lprint, lset, ltrim$, mid$, mkc$,
mkd$, mkdir, mkdmbf$, mki$, mkl$, mks$, mksmbf$, mod, movefirst,
movelast, movenext, moveprevious, name, next, not, oct$, off, on,
open, option, or, output, out, paint, palette, pcopy, peek, pen,
play, pmap, point, poke, pos, preset, print, pset, put, randomize,
random, read, redim, reset, restore, resume, retrieve, return,
right$, rmdir, rnd, rollback, rset, rtrim$, run, sadd, savepoint,
screen, seekeq, seekge, seekgt, seek, seg, select, setindex,
setmem, sgn, shared, shell, signal, single, sin, sleep, sound,
space$, spc, sqr, ssegadd, sseg, stack, static, step, stick, stop,
str$, strig, string$, string, sub, swap, system, tab, tan, then,
time$, timer, to, troff, tron, type, ubound, ucase$, uevent,
unlock, until, update, using, val, varptr$, varptr, varseg, view,
wait, wend, while, width, window, write, xor
// syntax highlighting for 80x86 assembly language files (.ASM, .INC)
object asm
syntax
'bfin' // options:
// b=show through marked block
// c=don't highlight cursor line
// f=use only foreground colors
// i=ignore keyword case
// n=highlight numbers
'[],:%!&$()*+-/?.<>' // symbol set
'\'"' // string characters
'' // string literal char
'' // numeric symbol
';' 0 // eol comment 1 / start column
'' 0 // eol comment 2 / start column
'' '' // multi-line comment 1
'' '' // multi-line comment 2
0 // number of lines to scan backward
color brightcyan on black // keyword color
color gray on cyan // symbol color
color brightred on black // string color
color brightred on black // numeric color
color brightgreen on black // eol1 comment color
color yellow on black // eol2 comment color
color brightgreen on black // comment1 color
color brightcyan on black // comment2 color
keyword
and, assume, byte, codeptr, dataptr, dup, dword, endm, endp, ends,
eq, equ, extrn, far, fword, ge, gt, high, large, length, le, low,
lt, macro, mask, mod, near, ne, not, offset, or, proc, ptr,
public, pword, qword, segment, seg, shl, short, shr, size, small,
symtype, tbyte, this, type, unknown, width, word, xor, call, code,
data, else, endif, end, esc, ifdef, include, near, rep, repe,
repne, repnz, repz, ret
// syntax highlighting for DOS batch files (.BAT)
object batch
syntax
'bfin' // options:
// b=show through marked block
// c=don't highlight cursor line
// f=use only foreground colors
// i=ignore keyword case
// n=highlight numbers
'()[]{}.=+-*/;<>|&,~^#%' // symbol set
'' // string characters
'' // string literal char
'' // numeric char
'REM' 0 // eol comment 1 / start column
'rem' 0 // eol comment 2 / start column
'' '' // multi-line comment 1
'' '' // multi-line comment 2
0 // number of lines to scan backward
color brightcyan on black // keyword color
color gray on cyan // symbol color
color brightred on black // string color
color brightred on black // numeric color
color brightgreen on black // eol1 comment color
color yellow on black // eol2 comment color
color brightgreen on black // comment1 color
color brightcyan on black // comment2 color
keyword
append, assign, attrib, backup, break, call, cd, chcp, chdir,
chkdsk, cls, command, comp, copy, ctty, date, debug, del, dir,
diskcomp, diskcopy, doskey, dosshell, do, echo, edit, edlin,
emm386, erase, exe2bin, exist, exit, expand, fastopen, fc, fdisk,
find, format, for, goto, graftabl, graphics, help, if, in, join,
keyb, label, lh, loadhigh, md, mem, mirror, mkdir, mode, more,
nlsfunc, not, path, pause, print, prompt, qbasic, rd, recover,
rename, ren, replace, restore, rmdir, setver, set, share, shift,
sort, subst, sys, time, tree, type, undelete, unformat, verify,
ver, vol, xcopy