@marianfoo/adt-ls - v0.4.1
    Preparing search index...

    Function applyTextEdits

    • Apply LSP TextEdit[] to source text (pure). Edits are non-overlapping per the LSP spec; we sort by start offset descending so applying one never shifts the offsets of those not yet applied. Positions are UTF-16 code-unit based, matching JS string indices.

      Parameters

      Returns string