Correct value for spell checking
Correct value for spell checking
- Subject: Correct value for spell checking
- From: Nir Soffer <email@hidden>
- Date: Sun, 16 Jul 2006 17:54:20 +0300
In - (NSRange)checkSpellingOfString:(NSString *)stringToCheck
startingAt:(int)startingOffset language:(NSString *)language wrap:
(BOOL)wrapFlag inSpellDocumentWithTag:(int)tag wordCount:(int *)
wordCount
When a spelling is not found, should this method return {NSNotFound,
0}, or it is correct to return {0,0}?
Other methods like rangeOfString return {NSNotFound, 0}, but
NSSpellChecker docs does not mention this. Maybe its a documentation
bug?
Best Regards,
Nir Soffer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden