• 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
Re: Ignore Spelling not persistent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ignore Spelling not persistent?


  • Subject: Re: Ignore Spelling not persistent?
  • From: Alan Snyder <email@hidden>
  • Date: Wed, 23 Aug 2017 11:55:24 -0700

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 <email@hidden> wrote:
>
>
>
>> On Aug 22, 2017, at 6:26 PM, Alan Snyder <email@hidden
>> <mailto:email@hidden>> 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 (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: Ignore Spelling not persistent?
      • From: Mike Crawford <email@hidden>
References: 
 >Ignore Spelling not persistent? (From: Alan Snyder <email@hidden>)
 >Re: Ignore Spelling not persistent? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Ignore Spelling not persistent?
  • Next by Date: Re: Ignore Spelling not persistent?
  • Previous by thread: Re: Ignore Spelling not persistent?
  • Next by thread: Re: Ignore Spelling not persistent?
  • Index(es):
    • Date
    • Thread