Trevixal API
    Preparing search index...

    Function rangesWithMark

    • Contiguous subranges of [from, to) where a mark of this type is present, with the exact mark instance per range (ranges split when attributes change), used to build exactly-invertible RemoveMark steps.

      Parameters

      Returns readonly { from: number; mark: Mark; to: number }[]