One of the most important requirements of TextPad's syntax parser is that it must be able to refresh the screen as fast as possible. We could only have implemented general recognition of variables, in different programming languages, using regular expressions, but found that they slowed things up too much. Hence, variables are displayed in the colour selected for normal text. Sorry to have to disappoint you.