tree-sitter - v0.25.1
    Preparing search index...

    Type Alias Edit

    A summary of a change to a text document

    type Edit = {
        newEndIndex: number;
        newEndPosition: Point;
        oldEndIndex: number;
        oldEndPosition: Point;
        startIndex: number;
        startPosition: Point;
    }
    Index

    Properties

    newEndIndex: number

    The byte offset where the edit ends in the new document

    newEndPosition: Point

    The row and column where the edit ends in the new document

    oldEndIndex: number

    The byte offset where the edit ends in the old document

    oldEndPosition: Point

    The row and column where the edit ends in the old document

    startIndex: number

    The byte offset where the edit starts

    startPosition: Point

    The row and column where the edit starts