SpellingOptions

SpellingOptions

is an option for notebooks that specifies settings for spell checking.

Details

  • The typical usage is SpellingOptions->{opt1->val1,opt2->val2,}.
  • The following suboptions can be specified:
  • "AlwaysSkip"{"SingleCharacterWords", "Numbers", "WordsWithNumbers", "WordsInAllCaps","WordsWithUnderscores","WordsWithInternalCapitals","WordsInURL"}criteria for skipping words during a spell check
    "AlwaysStop"{"UncapitalizedStartOfSentence", "RepeatedWords"}criteria for stopping a spell check
    "WordSplitting"{"Hyphen"}whether compound words of a given type should be split before being tested by the spell checker
    "AutoSpellCheckDelay"0.4time in seconds when a spell check begins after typing stops
    "AutoSpellCheckPopupDelay"0.4time in seconds when a mouse hover over a highlighted misspelled word will produce a popup with corrections
    "MaxSuggestions"3maximum number of suggestions to list in right-click and hover menus
    "MisspelledWordStyle""MisspelledWord"style to apply to misspelled words
  • "AlwaysSkip" is given as a list of conditions to be tested. If a word being tested satisfies any of the conditions, the spell checker skips that word. This option allows you to customize a spell check to ignore certain types of words.
  • The settings for "AlwaysStop" override those for "AlwaysSkip" if the same condition is specified for both options.
  • Possible settings for "AlwaysSkip" are "UncapitalizedStartOfSentence", "RepeatedWords", "SingleCharacterWords", "Numbers", "WordsWithNumbers", "WordsInAllCaps", "RomanNumerals", "AlternateSpellings", "CaseDifferences", "EncliticForms", "HyphenatedWords", "WordsWithUnderscores", "WordsWithInternalCapitals", and "WordsInURL".
  • "AlwaysStop" is given as a list of conditions to be tested. If a word being tested satisfies any of the conditions, the spell check stops at that word. This option allows you to generalize a spell check to search for errors other than ordinary spelling errors.
  • Possible settings for "AlwaysStop" are the same as for "AlwaysSkip".
  • When the spell checker encounters a compound word of a type specified in "WordSplitting", it splits the word and tests each of its component words separately.
  • Possible settings for "WordSplitting" are "All", "Hyphen", "Underscore", and "InternalCapitals".
  • With the setting "WordSplitting"->"All", the spell checker will attempt to split up compound words even if they are not internally capitalized or hyphenated or have no underscore. For example, "shortstop" could be tested as "short" and "stop".

See Also

Check Spelling  LanguageCategory  ShowAutoSpellCheck  DefaultNaturalLanguage  SpellingDictionaries

Introduced in 1999
(4.0)