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
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
fc181b44c2
commit
33ddb45f31
6 files changed
+195
-38
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user