Re: NSSpellChecker and checkSpellingOfString problems (solved... embarrassingly)

2009-12-04 Thread Keith Blount
Please ignore all previous messages about NSSpellChecker. I wish there were a way to withdraw mails after they've been sent, because it turns out I'm an idiot. This is actually a *feature* of Snow Leopard, not a bug. The misspelled words I was using and that my user had sent me were all fine in

Re: NSSpellChecker and checkSpellingOfString problems

2009-12-04 Thread Keith Blount
Just an update on this. It seems to be a Snow Leopard bug, as I can now reproduce it in TextEdit. If you try typing "accede" or "accademia" in an empty TextEdit window, then ctrl-click on them to get suggestions, you get nothing - they aren't caught as misspelled. If you do the same when the mis

Re: NSSpellChecker and checkSpellingOfString problems

2009-12-04 Thread Keith Blount
Hi, Sorry, I missed your e-mail yesterday and only just saw it. > Can't you simply use something like > NSMenu *theMenu = [super menuForEvent:theEvent]; > early in your code and let the system do the heavy lifting? Unfortunately it's not as simple as that as the only items I need are the spelli

re: NSSpellChecker and checkSpellingOfString problems

2009-12-03 Thread Keith Blount
From: kvic...@pobox.com > Subject: re: NSSpellChecker and checkSpellingOfString problems > To: cocoa-dev@lists.apple.com, keithblo...@yahoo.com > Date: Thursday, December 3, 2009, 7:40 PM > i don't know if this is your problem > or not, but i don't see the red underline when i "a

re: NSSpellChecker and checkSpellingOfString problems

2009-12-03 Thread kvic...@pobox.com
i don't know if this is your problem or not, but i don't see the red underline when i "accade" until i type a word delimeter (e.g. a space or comma) after it. do u perhaps need to make sure the string u r passing to the spell checker has appropriate beginning and ending delimeters? ken At 1

Re: NSSpellChecker and checkSpellingOfString problems

2009-12-03 Thread Knut Lorenzen
Am 03.12.2009 um 17:55 schrieb Keith Blount: > I have an NSTextView subclass that provides a custom contextual menu by > overriding -menuForEvent:. Because I override this, I have to provide any > menu items I want to retain from the original menu myself. Can't you simply use something like NS