Optionaltoken: unknownRe-renders on onSelectionChange only while enabled. The derivation is memoized on the anchor
(the sdk selection's coords object is replaced only on a real change), so per-frame renders
(scroll) never re-tokenize; token lets a caller bust it when cell CONTENT changed (e.g. the
cells layer's visible-range cache token).
The shared formula-view spotlight source: while
sheetView.isShowFormulas()is on, tracks the sheet's selection anchor and — when it sits on a formula cell — returns that formula's tokens and scoped reference ranges. Consumed bySheetCellLayer(suppress the anchor's plain tile text + overlay the coloredFormulaCellRenderer) andSheetReferenceLayer(outline the references via the ranges picker), so the two always agree on what is spotlighted — and colors line up, both keying offreferenceIndex.