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

View file

@ -62,6 +62,7 @@ pub struct WrapChunks<'a> {
transforms: Cursor<'a, Transform, (WrapPoint, TabPoint)>,
}
#[derive(Clone)]
pub struct WrapBufferRows<'a> {
input_buffer_rows: fold_map::FoldBufferRows<'a>,
input_buffer_row: Option<u32>,