Dec 20, 2011 by chuckf

paste with "Real Tabs" checked

issue number: 302
type: bug
status: new
priority: n/a
in version: 4.5.6 (2427)
tags:
stars: 0

What steps will reproduce the problem?
Set "Trim Trailing Spaces" ON
Set "Real Tabs" ON
Insert tab in file
Paste some text after the tab at the end of the line.

What is the expected output?
Cursor should be at end of pasted text.

What do you see instead?
Cursor is number_of_tabs * tab_length spaces after paste. I have to hit end after pasting text at end of line every time.

What's your operating system?
Windows 7 x64


Need this feature?
Promise money, wait for fix and pay with PayPal.

Jan 17 by myf

Cannot reproduce in 4.5.7 (2433). Could you confirm it?

(Many other tab-related bugs remains, but this one is hopefully gone.)

Jan 19 by chuckf

With 2433, the bug is slightly different.
If there is a tab character at the start of the line before some text on a line, then pasting at the end of the line will move the cursor number_of_tabs * tab_length to the right of the pasted text.
So, the only difference is that there needs to be some text after the tab(s) for this to happen.
Thanks,

Log in for email notifications for this issue
To comment, please log-in.