NSText showGuessPanel: problem
NSText showGuessPanel: problem
- Subject: NSText showGuessPanel: problem
- From: email@hidden
- Date: Sat, 31 Dec 2011 16:23:19 -0800
If I invoke a menu for an NSTextView, I can successfully spell check the text in my NSTextView by choosing Spelling and Grammar->Show Spelling and Grammar. This menu item calls showGuessPanel: . The guessPanel is opened and it appears that the Guess Panel is synchronized with the misspelled words in my NSTextView. But if I set the attributed String value of an NSTextView and invoke Spelling and Grammar on the newly set NSTextView using showGuessPanel, it doesn't work the same.
[mySmallTextView showGuessPanel:mySmallTextView];
When I do this, it appears that the newly opened panel selects the first word that is misspelled, but the spelling panel can not correct the misspelled word when I press change, nor does the Find Next button work in the panel.
Why would the NSTextView's invocation of showGuessPanel: be different than a my invocation?
Patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden