Automerge Repo - v2.5.2-alpha.5
    Preparing search index...
    • Experimental

      Create a cursor-based range segment for stable text selection.

      Must be used as the last argument in a ref path. Creates stable cursors that track text positions through edits.

      This API is experimental and may change in future versions.

      Parameters

      • start: number
      • Optionalend: number

      Returns CursorMarker

      handle.ref('note', cursor(0, 5))  // Cursor-based range on text