Add testing suite for chunk bitmaps
This commit is contained in:
parent
81bb5c2d27
commit
aa39f979b9
7 changed files with 473 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue