The window listed the command catalog the keys run on, which keeps English labels, so a translated interface showed English rows all under Other. It now lists each command as the menus label it, in the current language, with its English label kept for search, under the menu bar path that lists it, and relists them when the language changes while it is open.
A clashing key from an inserted or combined file is numbered as text, and " (2)" is appended in the key's own encoding: UTF-16 big- or little-endian after a byte-order mark, bytes after a PDFDocEncoding key. A little-endian key was read as PDFDocEncoding and rewritten as different UTF-16 text, so the renamed attachment lost its name.
alt.rs: main now resolves indirect structure kids (#5611), checks the parent and computes the new parent /K before it reads the page, and marks content through decode_page_streams/Marked (damaged streams refuse). This PR's mutation_mcids ownership checks replace main's has_child_structure + mcids in both actions, and its reachable-parent check runs with main's parent checks, before any write. Since main validates the parent first, the missing-/P + missing-content case now refuses with NoParent (test renamed), still without mutation. tools.rs and roadmap keep main's text plus this PR's refusal notes.
main split the engine's lib.rs into modules; the as-opened validation is ported: Editor::as_opened and AsOpened in history.rs, editor_signatures in doc_state.rs (used wherever an editor's signatures are validated), the as-read capture in open.rs, and mark_saved clearing it in session/save.rs. The test also pins the saved status (dynamic Invalid, static Valid).
indents() clamped marginLeft to at least the hang even when textIndent wasn't
negative, so a negative marginLeft stopped moving the lines left of the box as it
does on main. The margins are now as given unless textIndent is negative (review
note on #3526).
follows() allowed half the smaller glyph's height off the line, where arrange
joins a sub- or superscript right next to its glyph within half the taller one's.
A glyph followed by its superscript then looked like a run end, and a later run
starting at its place lost that glyph.
- The grid search around a glyph spans the larger of its horizontal and vertical
redraw tolerances, so a tall, narrow glyph redrawn a little higher is found.
- The near check also compares the last kept glyph, so a fifth or later copy in a
row (past the four-glyph window, and skipped by the far check as it follows that
glyph) is dropped.
- Each kept glyph records the kept glyph after it when that one is kept, instead of
rescanning the dropped glyphs in between for every candidate (quadratic on long
runs of dropped copies).