Couldn't you get it to format it like Delphi does, rather than just highlighting things in different colours. Something like this:

[Dammit I give up - basically, I meant use the same font as Delphi (Courier New) and put keywords in bold.]