Personally I say just put the cursor at the end of the file and open replace (Ctrl + H).
Turn on regex and use " " for the item to replace. Just put in how ever many spaces you want turned into a tab. Then in the Replace with box put "\t" amd finally tell it to replace backwards. Why yo uneeded an automated function for something thats so simple to do I don't know. -- Carbonize <http://forum.pspad.com/read.php?2,49026,49028> PSPad freeware editor http://www.pspad.com
