Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix language detection condition on macOS #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fxha
Copy link

@fxha fxha commented Oct 5, 2019

Fixed automaticallyIdentifyLanguages method on macOS to disable automatic language detection without calling switchLanguage again.

// Calling setDictionary on the macOS implementation of @nornagon/spellchecker
// is the only way to set the automaticallyIdentifyLanguages property on the
// native NSSpellchecker. Calling switchLanguage with a language will set it false,
// while calling it with an empty language will set it to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant