Thank you for your reply. I have all those settings as you suggested, but sometimes PSPad still converts tabs to spaces and vice versa. Not just leading tabs or spaces, but also tabs and spaces in the middle of a line. And it appears to happen randomly -- not consistently at all. I also have "Trim Trailing Spaces". I will test to see if there is any connection.
-- <http://forum.pspad.com/read.php?2,45689,45732> PSPad freeware editor http://www.pspad.com
