mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
fmt
This commit is contained in:
parent
0711476fd5
commit
9a7d2e3fe4
@ -206,10 +206,8 @@ pub fn visual_block_motion(
|
||||
row,
|
||||
laid_out_line.closest_index_for_x(positions.start) as u32,
|
||||
);
|
||||
let mut end = DisplayPoint::new(
|
||||
row,
|
||||
laid_out_line.closest_index_for_x(positions.end) as u32,
|
||||
);
|
||||
let mut end =
|
||||
DisplayPoint::new(row, laid_out_line.closest_index_for_x(positions.end) as u32);
|
||||
if end <= start {
|
||||
if start.column() == map.line_len(start.row()) {
|
||||
end = start;
|
||||
|
Loading…
Reference in New Issue
Block a user