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.
24 lines
1.2 KiB
24 lines
1.2 KiB
import { Sequence } from 'gensequence'; |
|
import { CSpellUserSettings } from './CSpellSettingsDef'; |
|
export declare type CSpellUserSettingsKeys = keyof CSpellUserSettings; |
|
export declare function getInDocumentSettings(text: string): CSpellUserSettings; |
|
declare function parseCompoundWords(match: string): CSpellUserSettings; |
|
declare function parseWords(match: string): CSpellUserSettings; |
|
declare function parseIgnoreWords(match: string): CSpellUserSettings; |
|
declare function parseIgnoreRegExp(match: string): CSpellUserSettings; |
|
declare function getPossibleInDocSettings(text: string): Sequence<RegExpExecArray>; |
|
declare function getWordsFromDocument(text: string): string[]; |
|
export declare function getIgnoreWordsFromDocument(text: string): string[]; |
|
export declare function getIgnoreRegExpFromDocument(text: string): (string | RegExp)[]; |
|
/** |
|
* These internal functions are used exposed for unit testing. |
|
*/ |
|
export declare const internal: { |
|
getPossibleInDocSettings: typeof getPossibleInDocSettings; |
|
getWordsFromDocument: typeof getWordsFromDocument; |
|
parseWords: typeof parseWords; |
|
parseCompoundWords: typeof parseCompoundWords; |
|
parseIgnoreRegExp: typeof parseIgnoreRegExp; |
|
parseIgnoreWords: typeof parseIgnoreWords; |
|
}; |
|
export {};
|
|
|