Fix typos detected by crate-ci/typos

This commit is contained in:
Mikayla 2024-01-17 14:31:21 -08:00
parent df67917768
commit 57400e9687
No known key found for this signature in database
71 changed files with 133 additions and 133 deletions

View file

@ -201,14 +201,14 @@ pub fn visual_block_motion(
let mut row = tail.row();
loop {
let layed_out_line = map.layout_row(row, &text_layout_details);
let laid_out_line = map.layout_row(row, &text_layout_details);
let start = DisplayPoint::new(
row,
layed_out_line.closest_index_for_x(positions.start) as u32,
laid_out_line.closest_index_for_x(positions.start) as u32,
);
let mut end = DisplayPoint::new(
row,
layed_out_line.closest_index_for_x(positions.end) as u32,
laid_out_line.closest_index_for_x(positions.end) as u32,
);
if end <= start {
if start.column() == map.line_len(start.row()) {
@ -218,7 +218,7 @@ pub fn visual_block_motion(
}
}
if positions.start <= layed_out_line.width {
if positions.start <= laid_out_line.width {
let selection = Selection {
id: s.new_selection_id(),
start: start.to_point(map),