Merge branch 'main' into pixel-columns
This commit is contained in:
commit
9d07561d99
217 changed files with 7640 additions and 12657 deletions
|
@ -263,7 +263,7 @@ pub fn start_of_paragraph(
|
|||
) -> DisplayPoint {
|
||||
let point = display_point.to_point(map);
|
||||
if point.row == 0 {
|
||||
return map.max_point();
|
||||
return DisplayPoint::zero();
|
||||
}
|
||||
|
||||
let mut found_non_blank_line = false;
|
||||
|
@ -290,7 +290,7 @@ pub fn end_of_paragraph(
|
|||
) -> DisplayPoint {
|
||||
let point = display_point.to_point(map);
|
||||
if point.row == map.max_buffer_row() {
|
||||
return DisplayPoint::zero();
|
||||
return map.max_point();
|
||||
}
|
||||
|
||||
let mut found_non_blank_line = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue