mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-28 13:18:04 +00:00
Use correct bias when calculating next_row_end
This commit is contained in:
parent
7bd192bdfb
commit
c135c84ef0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue