site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=eCtGEy/GF7jkSO12M08PopcDTfPMBkzIl4nl0vgM7Js=; b=oViZAohbXw4EwQQKwc3RiQd4bEvDP4qtDOy7xN7P+xA5Ezoh2twf5YSIl5r2uiD7AY GqpvKMAbENwlvqWiEybKi5Y/X69z0CFHjZLKUgnL9YKZbM43uDjpLvRkxIHr2eAxga2j FYe1LsuwY0YKRw+qU46de1/O30DKTUsFtJmdedhpl7/o9Vz272OTfpuWytw0KJZN67wj 9a5LsEWS/dg/YuCU8trQOMgkfaULShRuNhfzwEluEeD/burxO5+SLbW0P/7YiCKs6NhF v+sradN93ls6hU+OOgc0i1K+x4eEWB8iiRX84CCl90JgPEgnPkEcUEGb4L9G26CpUdV9 Spsg== I suggest filing a feature request to recommend Apple create a standardized way to share that ignore list among all applications. Mike Crawford mdcrawford@gmail.com Seeking Beta Testers for Warp Life for iOS http://www.warplife.com/beta-testing On Wed, Aug 23, 2017 at 11:55 AM, Alan Snyder <applemail832781@cbfiddle.com> wrote:
Good point. Indeed, it is the responsibility of the app to save the list of ignored words, and there is an API it can use to restore the list into NSSpellChecker.
Apple’s own apps are inconsistent. Pages makes the ignored words persistent (although the words do not take effect immediately on reopening a document, presumably a bug). TextEdit and Mail do not.
Part of the implementation of persistent ignored words is to provide a way to remove words from the list. Pages does this. Perhaps that is just too much work to support in other apps.
Alan
On Aug 22, 2017, at 8:43 PM, Jens Alfke <jens@mooseyard.com> wrote:
On Aug 22, 2017, at 6:26 PM, Alan Snyder <applemail832781@cbfiddle.com <mailto:applemail832781@cbfiddle.com>> wrote:
The documentation that I have seen for the Ignore Spelling contextual menu item says that it applies to the current document, but does not say one way or the other whether the setting is persistent. As far as I can tell, the setting is not persistent. That strikes me as odd. Why would one want to ignore the word only in one editing session? I imagine using this command for words that are correct in context but not correct in all contexts. Any thoughts?
I don't think the spell-checker knows how to persist data [the list of ignored words] into the text being checked. In other words, it doesn't know how or where you're saving that text. If you want this persistent behavior, which I agree is good, you'll have to save the state of that setting, plus the list of ignored words, into your document somehow. (I don't know how to do this; I've never worked with the Cocoa spell-check API.)
—Jens
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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: https://lists.apple.com/mailman/options/cocoa-dev/mdcrawford%40gmail.com
This email sent to mdcrawford@gmail.com
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com