SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ReferenceSegmentInfo

    One comma-segment of a 'reference' field's text — the unit the host chrome colors and hit-tests. The SAME split the picker sync uses (splitReferenceSegments), so segment index i IS picker range index i: coloring segment i with the picker palette (PICKER_COLORS[i % n]) matches its on-grid rectangle exactly. (A 'formula' field colors by TOKEN instead — see FormulaInputApi.tokens.)

    interface ReferenceSegmentInfo {
        end: number;
        start: number;
        text: string;
        valid: boolean;
    }
    Index
    end: number

    End of the segment's span in the field text (exclusive).

    start: number

    Start of the segment's span in the field text (inclusive).

    text: string

    The raw segment text (surrounding whitespace included; the , separators excluded).

    valid: boolean

    Whether the segment parses to a single range — colored + evaluable when true.