interface Issue {
    col: number;
    context: TextOffset;
    isFlagged?: boolean;
    issueType?: IssueType;
    length?: number;
    line: TextOffset;
    message?: string;
    offset: number;
    row: number;
    suggestions?: string[];
    suggestionsEx?: Suggestion[];
    text: string;
    uri?: string;
}

Hierarchy

Properties

col: number
context: TextOffset

text surrounding the issue text

isFlagged?: boolean

true if the issue has been flagged as a forbidden word.

issueType?: IssueType

Issues are spelling issues unless otherwise specified.

length?: number

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

message?: string

Optional message to show.

offset: number

The offset into the document.

row: number
suggestions?: string[]

An optional array of replacement strings.

suggestionsEx?: Suggestion[]

An optional array of suggestions.

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