But you can do it with a little vbs script:
Option explicit
Const MODULE_NAME = "MyHeader"
Const MODULE_VER = "0.1"
Const MODULE_TITLE = "Add my header"
Dim editor
Sub Init
    addMenuItem MODULE_TITLE, "", "Main", "Ctrl+Shift+h"
End Sub
Sub Main
    Set editor = newEditor()
    editor.assignActiveEditor()
    editor.SelText("<!-- This is my header." & vbCrLf & "It has two lines. -->"
& vbCrLf)
End Sub

Save it to the PSPadScriptVBScript folder. The "Ctrl+Shift+h" part defines a
keyboard shortcut, which makes it even faster than to add the header from a
context .def file.

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

Odpovedet emailem