Javascript Parsing / Syntax Highlighting from PHP file
When you have a javascript file that has a .php extension it won't recognize it as Javascript.
I use .php files for my external Javascript because I usually have to alter the files based on the user, session, scenario, etc.
What may work best is to have your coloring engine check the actual script block itself. So if I have a script block inside that file it should treat everything between the script tags as javascript, vbscript, whatever the type is.
I guess you would also have to make exceptions for the php that could be in there as well.
You probably should also work in some include checks as well. If I have a script block in the calling file and it includes a script file, myscripts.php then it should treat everything in that file as javascript, etc - minus the php. This may be the easiest method of adding this support.
Thanks.

