Skip to main content

Interface: DictionaryDefinitionInlineFlagWords

Defined in: DictionaryDefinition.ts:115

Extends

  • DictionaryDefinitionInlineBase.Required<Pick<InlineDictionary, "flagWords">>

Properties

description?

optional description: string

Defined in: DictionaryDefinition.ts:29

Optional description of the contents / purpose of the dictionary.

Inherited from

DictionaryDefinitionInlineBase.description


flagWords

flagWords: string[]

Defined in: DictionaryDefinition.ts:118

List of words to always be considered incorrect. Words found in flagWords override words.

Format of flagWords

  • single word entry - word
  • with suggestions - word:suggestion or word->suggestion, suggestions

Example:

"flagWords": [
"color: colour",
"incase: in case, encase",
"canot->cannot",
"cancelled->canceled"
]

Overrides

DictionaryDefinitionInlineBase.flagWords


ignoreWords?

optional ignoreWords: string[]

Defined in: InlineDictionary.ts:31

List of words to be ignored. An ignored word will not show up as an error, even if it is also in the flagWords.

Inherited from

DictionaryDefinitionInlineBase.ignoreWords


name

name: string

Defined in: DictionaryDefinition.ts:25

This is the name of a dictionary.

Name Format:

  • Must contain at least 1 number or letter.
  • Spaces are allowed.
  • Leading and trailing space will be removed.
  • Names ARE case-sensitive.
  • Must not contain *, !, ;, ,, {, }, [, ], ~.

Inherited from

DictionaryDefinitionInlineBase.name


repMap?

optional repMap: ReplaceMap

Defined in: DictionaryDefinition.ts:31

Replacement pairs.

Inherited from

DictionaryDefinitionInlineBase.repMap


suggestWords?

optional suggestWords: string[]

Defined in: InlineDictionary.ts:46

A list of suggested replacements for words. Suggested words provide a way to make preferred suggestions on word replacements. To hint at a preferred change, but not to require it.

Format of suggestWords

  • Single suggestion (possible auto fix)
    • word: suggestion
    • word->suggestion
  • Multiple suggestions (not auto fixable)
    • word: first, second, third
    • word->first, second, third

Inherited from

DictionaryDefinitionInlineBase.suggestWords


useCompounds?

optional useCompounds: boolean

Defined in: DictionaryDefinition.ts:33

Use Compounds.

Inherited from

DictionaryDefinitionInlineBase.useCompounds


words?

optional words: string[]

Defined in: InlineDictionary.ts:5

List of words to be considered correct.

Inherited from

DictionaryDefinitionInlineBase.words