Commit Graph
2 Commits
Author SHA1 Message Date
fen 71c53b65f3 Fix #167 r2: measure wrapped rows from rendered line geometry
CI / test (pull_request) Successful in 47s
CI / docker (pull_request) Skipped
Round-1 accounting rounded each .codeline span's own height to rows, but
in pre-wrap the newline text nodes between blocks each render as their own
anonymous row, so per-span height undercounts and gutter numbers drift
below their line's first visual row. Renumber now derives rows per line
from the rendered gap between consecutive line tops (wrapped rows plus the
newline row); the last line falls back to its own box height. Wrap-off
path unchanged.
2026-09-10 11:54:07 -05:00
fen dee062dfa5 Fix #167: gutter numbers track wrapped visual rows when line wrap enabled
CI / test (pull_request) Successful in 38s
CI / docker (pull_request) Skipped
2026-09-10 11:23:49 -05:00