PSPad remembers last used highlighter. With Syntax button (or menu View / Change syntax) you can change syntax manually.
If you open new never open XHTML file, it's open as Perl too? -- <http://forum.pspad.com/read.php?2,47004,47005> PSPad freeware editor http://www.pspad.com
