Re: Ignore Spelling not persistent?
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=2wWdXASWd8K71LxZK3 /gO0jy25E4b5s5P+QO/yZMROM=; b=D55qS09BT40AzWPsRJErkOpJgmeWbAm446 pOwiIxbOZNmfYHQHyKpWqk9w7B1v2qVbgCWS1ZyaDJgQFPAkn7DWXf8tK+h728QE 4Te1F3ckXXugP8EgIDzTH7q1NzQbypATkE6tJFGlvHwY/EbF09oX03Y513utJwm+ vdWCL5SgDAEIE0fffwGC+G7+GfJDyPJJ19DuwPXvP0IY1mBEdjBC6nO4U2Z0GWez vEx4kb0ZxCNYwNzmSie40hihRiJ872Aalm9TACI53z0b44vRHaQSdR0RXQVYKx6V SfjwFzjVmyqwxk743TCFrJ8REkQFdgUTAGetkgJbx3IgnEhcG4Kw==
On Aug 22, 2017, at 6:26 PM, Alan Snyder <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/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jens Alfke