diff --git a/zed/src/editor/buffer_view.rs b/zed/src/editor/buffer_view.rs index c89af4c0b5..cd43133efe 100644 --- a/zed/src/editor/buffer_view.rs +++ b/zed/src/editor/buffer_view.rs @@ -967,7 +967,7 @@ impl BufferView { map.line_len(display_rows.end, app).unwrap(), ); let next_row_end = next_row_display_end - .to_buffer_offset(map, Bias::Left, app) + .to_buffer_offset(map, Bias::Right, app) .unwrap(); let mut text = String::new();