updateSpellingPanel(withGrammarString:detail:)
Specifies a grammar-analysis detail to highlight in the Spelling panel.
Declaration
func updateSpellingPanel(withGrammarString string: String, detail: [String : Any])Parameters
- string:
Problematic grammatical unit identified by Checkgrammar(of:startingat:language:wrap:inspelldocumentwithtag:details:).
- detail:
One of the grammar-analysis details provided by Checkgrammar(of:startingat:language:wrap:inspelldocumentwithtag:details:).