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
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
ce4a1e9cb5
commit
edc328aadf
7 files changed
+273
-59
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user