Browse the docs

fixSpelling

Replaces each misspelled word with the Mac's first suggestion.

Details #

fixSpelling(text) runs spellcheck and replaces every misspelled word with its first suggestion. A word with no suggestion stays as it is.

Parameters #

Takes 1 argument. {{ fixSpelling(text) }}

Examples #

fixSpelling("I will recieve the pakage")
→ I will receive the package

Gotchas #

  • The first suggestion is a guess and is sometimes wrong. Use spellcheck when you want to look at them.