When I increase or decrease the indent on a selected block in 4.7.3, tabs are stripped from lines that contain only tabs. This behavior is extremely annoying to me, because I use the clip library to insert e.g. a whole SELECT CASE statement, including tabs on empty lines to indent yet-to-be-written statements within the SELECT CASE statement.
These tabs should NOT be stripped, but instead indented just as are lines with text.
Have I missed an option, or is this a bug? Maintain Indentation and Auto-indent Blocks are both checked in the doc class, but I haven't spotted an option that might affect this issue.
Thanks,
increase/decrease indent strips tabs?!
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
increase/decrease indent strips tabs?!
Abe Hendin
AtYourSpeed Consulting
AtYourSpeed Consulting
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Do you have "Convert New tabs to Spaces" checked? Look under Configure->Preferences->Document Classes->*your class*->Tabulation. HTH
Edit. Since this is a change under "Document Classes" first close all open documents in TP.
Edit. Since this is a change under "Document Classes" first close all open documents in TP.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be
If you mean the "strip trailing spaces when saving" option, that's off too, and anyway, the tabs are stripped immediately upon increasing or decreasing the indent, when there are only tabs in a line. This really seems like a bug to me, or at the very least bad behavior. Try it and see for yourself. Just start a new file, and enter:Ed wrote:What about the "delete trailing spaces" option?
Testing
[t]Testing
[t][t]Testing
[t][t]
[t]Testing
Testing
Select the block, and increase the indent. The tabs on the 4th line are stripped. It's particularly annoying when the selected block is many steps deep in code... Ahh well. I urge the developers to correct it with the next release. Please, please? Textpad is oh so cool in every other respect.
Abe Hendin
AtYourSpeed Consulting
AtYourSpeed Consulting
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
http://www.textpad.com/support/textpad.php
Set "Type" as Bug Report.
Set "Type" as Bug Report.
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be