FIXED: Insert Text on each line skipping last line

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
serk237
Posts: 18
Joined: 21 Dec 2018 18:13

FIXED: Insert Text on each line skipping last line

Post 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.

User avatar
pjj
Posts: 1778
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: Insert Text on each line skipping last line

Post 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.
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 5983
Joined: 19 Jul 2006 14:29

Re: Insert Text on each line skipping last line

Post 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.

User avatar
pjj
Posts: 1778
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

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

Post 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).
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 5983
Joined: 19 Jul 2006 14:29

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

Post by Rickard Johansson »

Fixed in v14.30. Thanks!

Post Reply