MarkdownDocument: blocks open on a read of the text as it is, top lines wait for their read and keep their place in tall blocks
CI / site (push) Successful in 46s
CI / platforms (windows-latest) (push) Successful in 6m17s
CI / crate (push) Failing after 26m58s
CI / platforms (ubuntu-24.04) (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-12 01:40:41 -04:00
1 parent fc181b44c2
commit 33ddb45f31
6 files changed
+195 -38

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ impl MarkdownDocument {
if written.is_some() {
self.reparse(cx);
}
if !self.read_now() {
if !self.read_now(cx) {
return log::warn!("markdown document: pressed while the text is read again");
}
let text = self.editor.read(cx).text();