Page 1 of 1

FIXED: Insert Text on each line skipping last line

Posted: 14 Nov 2019 16:21
by serk237
In version 14.20 When you select multiple lines and select Edit>More line operations>Insert text on all selected lines it skips the last line selected. In column or normal mode.

Re: Insert Text on each line skipping last line

Posted: 14 Nov 2019 17:41
by pjj
This was my impression, too, though I didn't done any research on this, I just ran it once and added missing text on the last line by hand.

Re: Insert Text on each line skipping last line

Posted: 05 Jan 2020 18:03
by Rickard Johansson
I haven't been able to reproduce this.

The last line is only skipped if the text cursor is positioned at column zero.

E.g.

line 1
line 2

|line 3

only line 1 and 2 are considered selected.

Re: ??? Insert Text on each line skipping last line

Posted: 06 Jan 2020 12:58
by pjj
Rickard Johansson wrote:
05 Jan 2020 18:03
The last line is only skipped if the text cursor is positioned at column zero.
If you select some lines from the end, so that the last one is selected, too, and caret is placed at column zero, the last line is not affected (while it should be, since it is selected).

Re: ??? Insert Text on each line skipping last line

Posted: 06 Jan 2020 20:15
by Rickard Johansson
Fixed in v14.30. Thanks!