@automerge/automerge - v3.0.0
    Preparing search index...

    Function updateSpans

    • Update the spans at the given path

      Type Parameters

      • T

      Parameters

      Returns void

      Like updateText this will diff newSpans against the current state of the text at path and perform a reasonably minimal number of operations required to update the spans to the new state.