PSPad recognises .js files as containing JavaScript and will use the JavaScript highlighting. Script tags are only needed when using html multihighlighter. As has already been said PSPad will not apply syntax highlighting to files over a set file size to prevent PSPad slowing down.
francheu: -------------------------------------------------------------------------------- Hi It looks like you are facing the famous size limit for highlighting... Go into Settings/Program Settings, then click on the "Direct edit" button at the bottom of the window. In the "Special settings" section try to find "HLOnUpToSize" (it should be in the 15th position) and put there a big value (I set it to 100000000). It is the maximum file size for which PSPad will automatically activate highlighting.-------------------------------------------------------------------------------- As I break all my work down in to seperate files for each part of the script I never hit this problem myself. But even Jquery, which is a very complex and powerful framework, is 8176 lines and only 207KB which is well below the default cut off for syntax highlighting of a single source which is 500KB. -- Carbonize <http://forum.pspad.com/read.php?2,55786,55880> PSPad freeware editor http://www.pspad.com
