Keep structural units out of text edit reflow

This commit is contained in:
gloamxun committed 2026-10-20 12:49:15 +08:00
1 parent 753aac632d
commit c98ec0056f
2 files changed
+42 -2

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ operation from the start. It does **not** embed pdfTeX, XeTeX or Tectonic.
- `Engine::edit` which restores the checkpoint before the edited unit,
re-executes only the suffix, compares page hashes, and reports
`recomputed_pages`;
- `Unit::paragraph_style` records whether a unit is text and can be
re-flowed by `Engine::edit`; structural units (halign, insertion, float)
are never rewritten from a plain source string.
- serde round-trip for checkpoints.
M0 proves the incremental contract; M1 starts replacing the placeholder with