parent
4983b01c89
commit
b079871428
1 changed files with 3 additions and 1 deletions
|
@ -220,7 +220,9 @@ impl Vim {
|
|||
}
|
||||
ranges.push(start..end);
|
||||
|
||||
if end.column == snapshot.line_len(MultiBufferRow(end.row)) {
|
||||
if end.column == snapshot.line_len(MultiBufferRow(end.row))
|
||||
&& end.column > 0
|
||||
{
|
||||
end = snapshot.clip_point(end - Point::new(0, 1), Bias::Left);
|
||||
}
|
||||
cursor_positions.push(end..end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue