Fix single column vim selections
This commit is contained in:
parent
b596b4153f
commit
1c36134cf9
6 changed files with 38 additions and 6 deletions
|
@ -147,7 +147,9 @@ pub fn down_by_rows(
|
|||
goal_x = map.x_for_point(point, text_layout_details)
|
||||
}
|
||||
|
||||
dbg!(point);
|
||||
let mut clipped_point = map.clip_point(point, Bias::Right);
|
||||
dbg!(clipped_point);
|
||||
if clipped_point.row() > point.row() {
|
||||
clipped_point = map.clip_point(point, Bias::Left);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue