You are here: PSPad forum > Bug report / Hlášení chyb > Issue with Trim Trailing Whitespace feature

Issue with Trim Trailing Whitespace feature

#1 Issue with Trim Trailing Whitespace feature

Posted by: almo | Date: 2015-09-11 21:14 | IP: IP Logged

Hi!

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.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR