But not in what you presented here.and dir occurs in the valid attributes keyword section of the syntax file
I'm pretty sure TextPad is unable to support semantic syntax highlighting, which would also explain why it's all "keywords" and nothing else.