Thanks MudGuard. Indeed, this is exactly what I was after.MudGuard wrote: Not exactly the class assignment you want, but might be close enough.
... And yes, it is working in 5.2.0

Thanks very much.
BTW, I am using Textpad v 5.2.0.rkrite wrote:Is there a way that I am able to apply a class to an open file that is currently in a different (or no) class?