Function: spellcheckProjectedTextWithCspell()
function spellcheckProjectedTextWithCspell(
text: string,
collection: Readonly<SpellingDictionaryCollection>,
options: Readonly<SpellcheckProjectedTextOptions>
): readonly Readonly<{
endOffset: number;
reason: string;
startOffset: number;
}>[];
Defined in: _internal/spellcheck-cspell.ts:1003
Spellcheck projected markdown text with the assembled cspell dictionaries.
Parameters
text
string
Projected markdown comment text.
collection
Readonly<SpellingDictionaryCollection>
Prebuilt cspell dictionary collection.
options
Readonly<SpellcheckProjectedTextOptions>
Runtime spellcheck behavior.
Returns
readonly Readonly<{
endOffset: number;
reason: string;
startOffset: number;
}>[]
Stable issue offsets and human-readable reasons.