Use correct bias when calculating next_row_end
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user