Make block insertion work in simple cases
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
2e61a586b6
commit
c278503166
2 changed files with 229 additions and 31 deletions
|
@ -55,6 +55,7 @@ impl DisplayMap {
|
|||
let (wraps_snapshot, _) = self
|
||||
.wrap_map
|
||||
.update(cx, |map, cx| map.sync(tabs_snapshot.clone(), edits, cx));
|
||||
|
||||
DisplayMapSnapshot {
|
||||
buffer_snapshot: self.buffer.read(cx).snapshot(),
|
||||
folds_snapshot,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue