Skip to content

posFromVisibleCharRects

posFromVisibleCharRects(coords, rects, ltr?): number | null

Defined in: hide/core.ts:56

Map client coordinates to a document position using only positive-width character rects — the same closest-horizontally / midpoint-assoc rule as CodeMirror’s InlineCoordsScan, but never considering width-0 clusters.

number

number

readonly VisibleCharRect[]

boolean = true

number | null