I have identified such problem being connected with trimSpaces rather than autoIndent. It was reported here:
http://pspad.nlift.com/issues/143/trimspaces1-breaks-undo/ Try to temporarily turn off automatic trimming of redundant spaces, maybe it will help. -- <http://forum.pspad.com/read.php?2,53700,55234> PSPad freeware editor http://www.pspad.com
