• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSText showGuessPanel: problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSText showGuessPanel: problem
      • From: Seth Willits <email@hidden>
  • Prev by Date: Re: Get the RSS Feed of a site
  • Next by Date: Re: NSText showGuessPanel: problem
  • Previous by thread: Static variables reset inside CFPlugin code
  • Next by thread: Re: NSText showGuessPanel: problem
  • Index(es):
    • Date
    • Thread