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.
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.