; TextPad syntax definition file for (HTML-)TADS 2.5.1
; based on UltraEdit word file version 1.20000113 by Gunther Schmidl
; adapted to TextPad by Michael Huang

C=1

[Syntax]
Namespace1 = 6
IgnoreCase = No
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=
PreprocStart = #
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart = /*
CommentEnd = */
CommentStartAlt =
CommentEndAlt =
SingleComment = //
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = Yes
StringStart = "
StringEnd = "
StringAlt =
StringEsc = \
CharStart = '
CharEnd = '
CharEsc = \

[Preprocessor keywords]
#define
#elif
#else
#endif
#error
#if
#ifdef
#ifndef
#include
#pragma
#undef
defined

[Keywords 1]
actor
abort
argcount
askdo
askio
break
case
class
compoundWord
continue
default
delete
do
else
exit
external
for
formatstring
function
goto
if
inherited
io
local
modify
new
pass
replace
return
say
switch
while
and
disambigDobjFirst
nil
not
or
self
startroom
true

[Keywords 2]
addbulk
addweight
addword
askfile
caps
car
cdr
clearscreen
commandAfterRead
commandPrompt
cvtnum
cvtstr
datatype
debugTrace
defined
delword
endCommand
execCommand
exitobj
fclose
find
firstobj
firstsc
fopen
fread
fseek
fseekeof
ftell
fwrite
getarg
getwords
getfuse
gettime
incturn
incscore
init
initSearch
initRestart
initRestore
input
inputdialog
inputevent
inputkey
intersect
isclass
itemcnt
length
listcont
listcontcont
listfixedcontcont
logging
lower
morePrompt
nextobj
nocaps
notify
objwords
outcapture
outhide
pardon
postAction
preCommand
preinit
preparse
preparseCmd
proptype
quit
rand
randomize
reGetGroup
remdaemon
remfuse
reSearch
resourceExists
restart
restore
rundaemons
runfuses
save
say
setdaemon
setfuse
setit
setscore
setversion
scoreStatus
skipturn
substr
switchPlayer
systemInfo
timeDelay
turncount
undo
unnotify
upper
verbinfo
yorn

[Keywords 3]
Actor
basicMe
basicNumObj
basicStrObj
beditem
behindHider
buttonitem
chairitem
clothingItem
container
darkroom
darkVerb
decoration
deepverb
dialItem
distantItem
doorway
fixeditem
floatingItem
follower
fooditem
hiddenItem
hider
item
keyItem
keyedLockable
lightsource
lockable
lockableDoorway
movableActor
nestedroom
numberedObject
object
obstacle
openable
Prep
qcontainer
qsurface
readable
room
searchHider
seethruItem
surface
switchItem
sysverb
theFloor
thing
transparentItem
travelVerb
underHider
vehicle

[Keywords 4]
action
actorAction
adesc
adjective
anyvalue
article
cantReach
compoundWord
construct
contents
destruct
disambigDobj
disambigIobj
doAction
dobjCheck
dobjGen
doDefault
down
east
height
in
ioAction
iobjCheck
iobjGen
ioDefault
isEquivalent
isHim
isHer
isVisible
ldesc
location
locatioOK
multisdesc
name
ne
newNumbered
newNumberedPlural
nilPrep
north
nw
noun
out
parseUnknownDobj
parseUnknownIobj
plural
pluraldesc
preferredActor
prefixdesc
prepdefault
preposition
rejectMultiDobj
roomAction
roomCheck
sdesc
se
south
specialWords
statusLine
sw
thedesc
up
value
verb
verbAction
west
width

[Keywords 5]
aboutPrep
askVerb
atPrep
aroundPrep
attachVerb
attackVerb
betweenPrep
behindPrep
boardVerb
breakVerb
centerVerb
cleanVerb
climbVerb
closeVerb
dVerb
debugVerb
detachVerb
digVerb
dirPrep
drinkVerb
dropVerb
eVerb
eatVerb
fastenVerb
flipVerb
followVerb
fromPrep
getOutVerb
giveVerb
goThroughVerb
helloVerb
iVerb
inPrep
inVerb
inspectVerb
itallVerb
iwideVerb
jumpVerb
knockVerb
lieVerb
lockVerb
lookVerb
lookBehindVerb
lookInVerb
lookThruVerb
lookUnderVerb
moveVerb
nVerb
neVerb
nwVerb
ofPrep
offPrep
onPrep
openVerb
outPrep
outVerb
overPrep
plugVerb
pokeVerb
pullVerb
pushVerb
putVerb
quitVerb
readVerb
removeVerb
restartVerb
restoreVerb
sVerb
saveVerb
sayVerb
scoreVerb
screwVerb
scriptVerb
seVerb
searchVerb
showVerb
sitVerb
sleepVerb
standVerb
standOnVerb
swVerb
switchVerb
tellVerb
terseVerb
throwVerb
touchVerb
turnVerb
turnOnVerb
turnOffVerb
thruPrep
toPrep
typeVerb
uVerb
underPrep
undoVerb
unfastenVerb
unlockVerb
unplugVerb
unscrewVerb
unscriptVerb
verboseVerb
versionVerb
wVerb
waitVerb
wearVerb
withPrep
yellVerb

[Keywords 6]
AgainVerb
Me
numObj
strObj
takeVerb