Posted by: almo | Date: 2015-09-11 21:14 | IP: IP Logged
One reason I use this editor is because it has a decent trim trailing whitespace feature. I've just found it does something odd though.
Usually, (as with ConTEXT), it only trims whitespace from lines your cursor is not on. With PSPad, it trims trailing whitespace from the line the cursor is on upon regaining focus.
So if I get on a new line, hit tab to indent, then switch to notepad to get some text to paste, then switch back to PSPad, it deletes the tab, and I have to reinsert it.
The design philosophy behind trimming trailing whitespace is to remove useless spaces the user can't see. But if the cursor is actually on a line, we can presume the user knows the whitespace is there, and may even want it.