You are here: PSPad forum > English discussion forum > Auto Text Indent + Trim Trailing Spaces Bug

Auto Text Indent + Trim Trailing Spaces Bug

#1 Auto Text Indent + Trim Trailing Spaces Bug

Posted by: salianifo | Date: 2012-08-23 20:40 | IP: IP Logged

I've noticed that in the latest version if you have both these options enabled (Auto Text Indent + Trim Trailing Spaces), when you hit backspace after inserting a new line with an indent, instead of backspacing one indent, it removes all the spaces on the line. Eg. (- = space)

<html>
--<head>
----<title>
------Hello
----</title>
--</head>
</html>

After typing "Hello" and hitting enter I get a new line with 6 spaces (3 indents -- indent width 2). If I hit backspace, in previous versions I would have 4 spaces left on the line. In version 4.5.6, it removes all the spaces on the line. The version I was using previously was 4.5.4.

Edited 1 time(s). Last edit at 2012-08-23 20:41 by salianifo.

Options: Reply | Quote | Up ^


#2 Re: Auto Text Indent + Trim Trailing Spaces Bug

Posted by: pspad | Date: 2012-08-24 04:23 | IP: IP Logged

Check if there is no check in program settings:
Editor 1 - Trim trailing spaces
Editor 1 - Extended Home key

Options: Reply | Quote | Up ^


#3 Re: Auto Text Indent + Trim Trailing Spaces Bug

Posted by: salianifo | Date: 2012-08-24 13:06 | IP: IP Logged

Both options are checked. The issue I have is that with the same options in the different versions handle them differently.

Options: Reply | Quote | Up ^






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