mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-24 10:27:44 -06:00
Down from the start of the line above a table (or Up from the start of the paragraph after it) skipped the whole table: `DocLayout::vertical` took the nearest line covering the caret's x, and a cell's lines start a cell margin in from the table's edge, so the paragraph beyond the table won. Lines between the caret's paragraph and that line in document order now come first: the caret goes into the nearest such line's table row, to the cell under it or the horizontally nearest. Another cell of the caret's own row never counts, so Down in a table still goes to the cell below. Pinned in `tests_typing.rs` and `docs/typing-parity.md`. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>