Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-miller committed Feb 6, 2025
1 parent 88eeaac commit 266da94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/multi_buffer/src/multi_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,7 @@ impl MultiBuffer {
let end_excerpt_id = range.end.excerpt_id;
let range = range.to_point(&snapshot);
let mut peek_end = range.end;
if range.end.row < snapshot.max_row().0 {
if range.end.row < snapshot.max_row().0 && range.end.column != 0 {
peek_end = Point::new(range.end.row + 1, 0);
};

Expand Down

0 comments on commit 266da94

Please sign in to comment.