rmapi-js
    Preparing search index...

    Interface PageHighlight

    a highlighted passage of a library page

    interface PageHighlight {
        color: number;
        length?: number;
        rectangles: Rectangle[];
        source: HighlightSource;
        start?: number;
        text: string;
    }
    Index
    color: number

    the color code, named by Color

    length?: number

    the number of characters highlighted, if known

    rectangles: Rectangle[]

    the rectangles it covers

    the file it is from

    start?: number

    the character offset into the page's text, if known

    text: string

    the highlighted text