mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-09 03:57:39 +00:00
fmt
This commit is contained in:
parent
0711476fd5
commit
9a7d2e3fe4
1 changed files with 2 additions and 4 deletions
|
@ -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 a new issue