documents: table edits keep extra cells and quote marks and say why they refuse; preview takes no edits; lists go on only in list items; a match waits for its text
CI / platforms (windows-latest) (push) Failing after 8s
CI / site (push) Successful in 22s
CI / crate (push) Failing after 11m29s
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 06:40:36 -04:00
1 parent ce4a1e9cb5
commit edc328aadf
7 files changed
+273 -59

No files matched your search

+4 -1
View File
@@ -19,7 +19,7 @@ use gpui::{
pub use parse::DocumentHeading;
use parse::{Parsed, alike, parsed};
pub use tables::TableEdit;
pub use tables::{TableEdit, TableRefusal};
use super::{MarkdownMode, markdown::markdown_highlights, modes::joint, render::OnLink};
use crate::{
@@ -79,6 +79,8 @@ pub struct MarkdownDocument {
asks: u64,
/// Its own write-backs whose changes are still to come.
writes: usize,
/// A match asked for before its text was read.
showing: Option<Range<usize>>,
focus: FocusHandle,
on_link: Option<OnLink>,
_subscriptions: Vec<Subscription>,
@@ -131,6 +133,7 @@ impl MarkdownDocument {
top: None,
asks: 0,
writes: 0,
showing: None,
focus,
on_link: None,
_subscriptions: subscriptions,