mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Hide any circumstantial evidence that this didn't work perfectly first
time
This commit is contained in:
parent
fae5b1e391
commit
2de34a905d
@ -147,9 +147,7 @@ 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);
|
||||
}
|
||||
|
@ -180,8 +180,6 @@ pub fn visual_block_motion(
|
||||
head_x = map.x_for_point(head, &text_layout_details);
|
||||
}
|
||||
|
||||
dbg!(head, head_x, tail, tail_x);
|
||||
|
||||
let positions = if is_reversed {
|
||||
head_x..tail_x
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user