mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-10 04:22:34 +00:00
- The Find Format's character attributes are read through
`CharAttrs::set_json` and matched as the document writes them
(camelCase keys, its number forms), so `font_style` finds what
`fontStyle` finds. A null attribute asks for nothing.
- Values compare numbers within rounding inside objects and lists too, so
a 14 pt leading written as `{"kind": "points", "value": 14}` matches.
- `FindFormat::spans` passes over a story's runs once, with a cursor that
only moves forward across the paragraphs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>