pspad: -------------------------------------------------------------------------------- PSPad remembers last used highlighter. With Syntax button (or menu View / Change syntax) you can change syntax manually. --------------------------------------------------------------------------------
Thanks, this works! And after closing and reopening it, the mode now changed to "Multi-Highlighter", which is OK in this case, because my XHTML file has embedded <%...%> constructs. pspad: -------------------------------------------------------------------------------- If you open new never open XHTML file, it's open as Perl too? -------------------------------------------------------------------------------- When I open an existing XHTML file, the mode is correctly set to XHTML. Things get interesting when I start with a blank page. Here, the mode is first set to Python (why? I've never programmed in Python on this machine). After I type my XHTML code and save the file as something.xhtml, the mode is *still* Python. I have to manually change the syntax. Is this the supposed behaviour? I had thought that new files would get their syntax assigned the first time the file gets saved (because it is only then that the PsPad knows the file extension, which it uses to select the syntax). Ronald -- Ronald Fischer (Germany) <http://forum.pspad.com/read.php?2,47004,47006> PSPad freeware editor http://www.pspad.com
