In this scenario:
PSPad 4.5.5 build 2417
[AutoIndent] = On
[Real Tabs] = On
[Trim Trailing Spaces] = On
1234 (below) = 4 columns indented
12345678 (below) = 8 columns indented, etc
------------------------------
void main()<enter>
{<enter>
<tab>
1234for (i=0;i<5;i++)<enter>
1234{<enter>
1234<tab>
12345678call_some_function();<enter>
12345678<backspace> -- i want to go back one tab width
1234567 -- no, it only takes me back one character
1234567 <backspace>
123456 <backspace>
12345 <backspace>
1234}
------------------------------
However, if I move the cursor in front of the "c" in "call_some_function();"
and hit backspace, it brings me back one tab width (4 columns) as I would expect
it should do on an empty line as well.
Setting [Trim Trailing Spaces] to OFF gives me my anticipated behavior. However,
imo [Trim Trailing Spaces] should affect spaces at the end of lines with text
followed by whitespace, not auto indent.
Example: [Trim Trailing Spaces] = On should make:
some_text_here and here<space><space><space><EOL>
turn into:
some_text_here and here<EOL>
Can we fix this bug?
--
<http://forum.pspad.com/read.php?2,56434,56434>
PSPad freeware editor http://www.pspad.com