Commit Graph
3 Commits
Author SHA1 Message Date
Knotty Wyvern 2b28707ba0 Keep the view in place while scrolling through tables and images
The view jumped to other text in large documents. A short line with
another height, such as a code fence, became the CodeMirror reference
for the line height. CodeMirror then estimated all heights again, and
its layout loop stopped before it restored the scroll position. Each new
table or image height started this check.

- A mark span keeps lines with another height out of that reading.
- A resize observer records the preview heights. A measure request from
  `toDOM` restarted the layout loop.
- A hidden layer measures each table before its first draw.
- Images keep their space from their natural size, in Write and Read.

The scrollStability smoke test and the imageSizes unit test check this.
Real wheel input on large documents gave no jumps in Write and Read.
Card be7df1de.
2026-11-04 21:41:20 -07:00
Knotty Wyvern 012b65bced Keep the collapsed Backlinks section after a tab change
The Backlinks section expanded again when the user left a tab and came
back. The section lost its state when it closed with its tab.

- The workbench layout keeps the state in `backlinksOpen` and saves it
  with the other layout values.
- The user guide describes the control.

The outline smoke test and the workbenchLayout unit test check the
state. Card e81770bc.
2026-11-04 21:41:20 -07:00
Knotty Wyvern 5557443ed1 RuneStone 1.0.0 2026-11-03 00:23:07 -07:00