I've had this same problem and it's been driving me crazy! The latest version is worse. I had to back up to version 4.5.9 (2600) for it to be slightly better, but it still randomly happens. PLEASE someone fix this! If this continues to happen, we'll have to change editors. We can't have editors randomly inserting invalid code. This is scary.
-- <http://forum.pspad.com/read.php?4,65340,66565> PSPad freeware editor http://www.pspad.com
