Contents

updateSpellingPanel(withMisspelledWord:)

Causes the spell checker to update the Spelling panel’s misspelled-word field to reflect word.

Declaration

func updateSpellingPanel(withMisspelledWord word: String)

Discussion

You are responsible for highlighting word in the document and for extracting it from the document using the range returned by the checkSpelling:... methods. Pass the empty string as word to have the system beep, indicating no misspelled words were found.

See Also

Managing the Spell-Checking Process