Asks the delegate to search for a misspelled word in a given string, using the specified language, and marking the first misspelled word found by returning its range within the string.
Original signature is '- (NSRange)spellServer:(NSSpellServer *)sender findMisspelledWordInString:(NSString *)stringToCheck language:(NSString *)language wordCount:(NSInteger *)wordCount countOnly:(BOOL)countOnly'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public event NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler SpellServerFindMisspelledWordInStringLanguageWordCountCountOnly
Public Event SpellServerFindMisspelledWordInStringLanguageWordCountCountOnly As NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler
public: event NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler^ SpellServerFindMisspelledWordInStringLanguageWordCountCountOnly { void add (NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler^ value); void remove (NSSpellServer..::..SpellServerFindMisspelledWordInStringLanguageWordCountCountOnlyEventHandler^ value); }
Return Value
The range of the misspelled word within the given string.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)