I was trying to set up TP to handle WSH script files, which have XML elements as well as any arbitrary ActiveX script language (JScript, VBScript, Python, Perl, etc.). After giving up trying to get multiple language highlighting (yeah, I know it can't be done), I ended up simply adding the XML keywords to the SYN file, which sorta worked.
In my desperation though, at some point I had a .JS file to which I manually assigned a syntax file, which I later deleted. I changed the association of *.js* to my final SYN file but the original highlight "scheme" remained on this file no matter what I did. I even searched through the registry for the name of the old SYN file - to no avail.
I finally figured out TP stores this info in the workspace file (which I was using). After recreating the workspace the problem went away. I didn't try removing the file from the workspace though, so I don't know if that would have worked.
Just a friendly heads up =) It would have been nice if this behavior was documented somewhere.
Syntax Highlight Behavior
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard