WIP: Insert blocks in BlockMap for MultiBuffer headers

This commit is contained in:
Antonio Scandurra 2021-12-21 17:38:03 +01:00
parent 8534a9cc41
commit 91c786a8db
4 changed files with 60 additions and 77 deletions

View file

@ -345,7 +345,7 @@ mod tests {
view.update(cx, |view, cx| {
view.populate_excerpts(buffer, cx);
assert_eq!(
view.excerpts.read(cx).read(cx).text(),
view.editor.update(cx, |editor, cx| editor.display_text(cx)),
concat!(
"\n", // primary diagnostic message
"\n", // filename