Type Alias MarkerPosition

MarkerPosition: {
    endColumn: number;
    endLine: number;
    endOffset: number;
    startColumn: number;
    startLine: number;
    startOffset: number;
}

Type declaration

  • endColumn: number

    0-based Position of the character after the end of the marker. (1-based position of the last character + 1)

  • endLine: number

    0-based line of the end of the marker

  • endOffset: number

    0-based absolute position of the character after the end of the marker. (0-based position of the last character + 1)

    This allows representation of the 0-length markers as "startPos == endPos". In this case endLine and endColumn should be ignored.

  • startColumn: number

    0-based column of the beginning of the marker

  • startLine: number

    0-based line number of the beginning of the marker

  • startOffset: number

    0-based absolute position of the beginning of the marker