Functionsยง
- apply
- Apply non-overlapping byte-range replacements to a source string.
- compute_
line_ offsets - Compute byte offsets of each line start in the source.
- diff
- Compute a unified-diff-style display of planned edits.
- offset_
to_ line - Convert a byte offset to a 0-based line number.
- offset_
to_ line_ col - Convert a byte offset to (1-based line, 1-based column).