Use correct range to get diff hunks in the presence of wrapped lines

This commit is contained in:
Julia
2022-10-13 13:52:44 -04:00
parent a6a7e85894
commit 9c47325c25
5 changed files with 19 additions and 3 deletions
@@ -987,6 +987,7 @@ impl<'a> sum_tree::Dimension<'a, FoldSummary> for usize {
}
}
#[derive(Clone)]
pub struct FoldBufferRows<'a> {
cursor: Cursor<'a, Transform, (FoldPoint, Point)>,
input_buffer_rows: MultiBufferRows<'a>,