Interface TextDocumentOffset

interface TextDocumentOffset {
    col: number;
    doc: string;
    length?: number;
    line: TextOffset;
    offset: number;
    row: number;
    text: string;
    uri?: string;
}

Hierarchy (View Summary)

Properties

col: number
doc: string
length?: number

Assumed to match text.length if the text has not been transformed.

offset: number

The offset into the document.

row: number
text: string

The text found at the offset. If the text has been transformed, then the length might not match length. Example: Original: cafe\u0301, text: café

uri?: string