Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
markdown_preview: Fix markdown preview not updating on `AcceptEditPrediction` (#25772)
smit91862ddc9f32
diff --git a/crates/markdown_preview/src/markdown_preview_view.rs b/crates/markdown_preview/src/markdown_preview_view.rsindex acedf9e583d..bcc674f612b 100644--- a/crates/markdown_preview/src/markdown_preview_view.rs+++ b/crates/markdown_preview/src/markdown_preview_view.rs@@ -317,7 +317,9 @@ impl MarkdownPreviewView {window,|this, editor, event: &EditorEvent, window, cx| {match event {- EditorEvent::Edited { .. } | EditorEvent::DirtyChanged => {+ EditorEvent::Edited { .. }+ | EditorEvent::DirtyChanged+ | EditorEvent::ExcerptsEdited { .. } => {this.parse_markdown_from_active_editor(true, window, cx);}EditorEvent::SelectionsChanged { .. } => {