REFEDIT: reference prompts, -REFEDIT, REFSET, nested references, xref write-back

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 15:52:26 +03:00
1 parent b1d4c9bd9b
commit 6784f89993
16 files changed
+1296 -380

No files matched your search

+6
View File
@@ -227,6 +227,10 @@ pub(super) struct DocumentTab {
pub(super) paper_bg_color: Option<[f32; 4]>,
/// Active REFEDIT session, if any.
pub(super) refedit_session: Option<RefEditSession>,
/// Sessions closed by REFCLOSE, reopened by undoing it.
pub(super) refedit_closed: Vec<RefEditSession>,
/// Sessions ended by undoing REFEDIT, reopened by redoing it.
pub(super) refedit_reopen: Vec<RefEditSession>,
/// COUNT mode, while it is on.
pub(crate) count: Option<crate::ui::window::count_palette::CountMode>,
/// Open BEDIT block tabs. Definitions are edited live; each tab owns its
@@ -662,6 +666,8 @@ impl DocumentTab {
bg_color: None,
paper_bg_color: None,
refedit_session: None,
refedit_closed: Vec::new(),
refedit_reopen: Vec::new(),
count: None,
block_edits: Vec::new(),
active_block_edit: None,