rmapi-js
    Preparing search index...

    Class Highlight

    a highlight of a page, read from the buffer that showed it as its fields are asked for

    Index
    • get colorRgba(): number | undefined

      the color as 0xAARRGGBB, if it has one

      Returns number | undefined

    • get erased(): boolean

      whether a later step of the same changes erased it

      Returns boolean

    • get length(): number | undefined

      the length of the range, if recorded

      Returns number | undefined

    • get slot(): bigint

      the number that names it while the page is held

      Returns bigint

    • get start(): number | undefined

      the offset into the underlying text, if recorded

      Returns number | undefined

    • get text(): string

      the highlighted text

      Returns string