rmapi-js
    Preparing search index...

    Class PageChanges

    what a page shows differently since a version, as steps to apply in order; made by changesSince

    It holds everything as one buffer, copied out of the core once, and each step, stroke and point is read from it only when asked for.

    Implements

    Index
    highlights: ViewList<Highlight>

    every highlight the steps show, in the order first shown

    reset: boolean

    whether to forget everything shown before applying them: they then show the whole page from nothing

    strokes: ViewList<Stroke>

    every stroke the steps show, in the order first shown

    version: PageVersion

    the page version these bring a reader to

    • get isEmpty(): boolean

      whether there is nothing to apply

      Returns boolean

    • the steps, in the order to apply them

      Throws a ViewError at a step this version of the package cannot read: applying the ones after it would show a page that is not the one held.

      Returns Iterator<PageChange>