Add testing suite for chunk bitmaps

This commit is contained in:
Anthony 2025-06-14 04:18:39 -04:00
parent 81bb5c2d27
commit aa39f979b9
7 changed files with 473 additions and 1 deletions

View file

@ -7726,6 +7726,8 @@ impl<'a> Iterator for MultiBufferChunks<'a> {
chunk.text.split_at(diff_transform_end - self.range.start);
self.range.start = diff_transform_end;
chunk.text = after;
// FIXME: We should be handling bitmap for tabs and chars here
// Because we do a split at operation the bitmaps will be off
Some(Chunk {
text: before,
..chunk.clone()