The Macro support is somewhat limited. But you can achieve almost everything
with a script, for example:
Option explicit
Const MODULE_NAME = "ConvertText"
Const MODULE_VER = "0.1"
Const MODULE_TITLE = "Convert Text"
Dim editor, text
Sub Init
addMenuItem MODULE_TITLE, "", "Main"
End Sub
Sub Main
Set editor = newEditor()
editor.assignActiveEditor()
text = editor.Text
text= Replace(text, "old", "new")
editor.Text(text)
End Sub
If you are unfamiliar with it, you can search PSPad's help file for the word
"script". It's pretty good.
--
<http://forum.pspad.com/read.php?2,30361,30388>
PSPad freeware editor http://www.pspad.com