Q:      If I use the toolbox button "Create new file" 
      and _choose XHTML_ 
      then _I get a_ regular _HTML_ document.

      If I use "File -> New -> Use Template -> XHTML -> XHTML 1.0 Strict utf-8"
      then I get the right XHTML document?

.

.

A:      If you create new file, 
      PSPad looks for an file with name "default.[color=blue]ext[/color]",
and uses it as template for your new file,
where "[color=blue]ext[/color]" is the _first_
[color=blue]ext[/color]ension from File masks list.


   The trick is to _order the extensions_ under
   Settings > Highlighter Settings... > XHTML > Specification > File masks:

to
*.xhtml
*.html
*.htm

   because PSPad use the first item of this list
   to chose "default.ext" template for this syntax.
   (you could even add *.txt to the first place in this list
   to get an new *.txt file while executing Ctrl+N > XHTML.)

Just order the extension by simple copy&paste them (as in an text document)
or by deleting old item and writing new value.

.
.
If you use "File -> New -> Use Template >" you select the file directly.

-

-- 
<http://forum.pspad.com/read.php?2,12797,48454>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem