That would be nice. I few editors I've used have had that feature and it comes in handy.
As for infinite loops, you just have to stop if from doing that. I don't know what criteria the others used, but my guess would be that, once it reached the last line of the file, it would flag itself to stop and execute once more. That should work. If, for some reason, it never reaches the last line, it should execute for either a certain number of times, or a certain amount of time, and then ask with a dialog, "Continue Yes / No ?" There should also be a "break" key to stop the execution of the macro. I don't know if it already has that, or not, but it should. -- <http://forum.pspad.com/read.php?2,56442,56445> PSPad freeware editor http://www.pspad.com
