You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
717 B
21 lines
717 B
import * as Text from './util/text'; |
|
export declare const diagSource = "cSpell Checker"; |
|
import { CSpellUserSettings } from './Settings'; |
|
export { IncludeExcludeOptions } from './textValidator'; |
|
export declare function validateText(text: string, settings: CSpellUserSettings): Promise<Text.TextOffset[]>; |
|
export interface CheckTextInfo { |
|
text: string; |
|
items: TextInfoItem[]; |
|
} |
|
export interface TextInfoItem { |
|
text: string; |
|
startPos: number; |
|
endPos: number; |
|
flagIE: IncludeExcludeFlag; |
|
isError?: boolean; |
|
} |
|
export declare enum IncludeExcludeFlag { |
|
INCLUDE = "I", |
|
EXCLUDE = "E" |
|
} |
|
export declare function checkText(text: string, settings: CSpellUserSettings): Promise<CheckTextInfo>;
|
|
|