Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSSpellCheckerMBS class.
NSSpellCheckerMBS.unlearnWord(word as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.5 and later.
Same as the older forgetWord.
NSSpellCheckerMBS.updatePanels
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
This method should be called when a client changes some relevant setting, such as what kind of spelling, grammar checking, or substitutions it uses.
Available in Mac OS X v10.6 and later.
NSSpellCheckerMBS.updateSpellingPanelWithGrammarString(lang as string, detail as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
problemString: Problematic grammatical unit identified by checkGrammarOfString.
detail: One of the grammar-analysis details provided by checkGrammarOfString.
Available in Mac OS X v10.5 and later.
NSSpellCheckerMBS.updateSpellingPanelWithMisspelledWord(word as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 7.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The checkSpellingOfString methods return the range of the misspelled word found. It is up to the client to select that word in their document and to cause the spelling panel to update itself to reflect the found misspelling. Clients can call updateSpellPanelWithMisspelledWord to insure that the spell panel is up to date.
Some examples using this method:
NSSpellCheckerMBS.userPreferredLanguages as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns an array containing the user's preferred languages for spell checking. The order is set in the system preferences.
If automaticallyIdentifiesLanguages is true, then text checking will automatically use this method as appropriate; otherwise, it will use the language set by Language property.
The older checkSpellingOfString and checkGrammarOfString methods will use the language set by Language property, if they are called with an empty language argument.
Available in Mac OS X v10.6 and later.
NSSpellCheckerMBS.userQuotesArrayForLanguage(lang as string) as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
An array of quote replacements used by the NSTextCheckingQuotesKey key-value pair.
Available in Mac OS X v10.6 and later.
NSSpellCheckerMBS.userReplacementsDictionary as dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Spell Checking | MBS MacCocoa Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The key-value pairs in this dictionary are used by the NSTextCheckingQuotesKey when replacing characters and words.
Available in Mac OS X v10.6 and later.
NSSpellCheckerMBS.WordFieldValue as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Spell Checking | MBS MacCocoa Plugin | 11.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write computed property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacCocoa Plugin.