-
Notifications
You must be signed in to change notification settings - Fork 110
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
Can't use Romance languages #57
Comments
I see this issue is old, but maybe as good a place to comment as any. In an attempt to get https://github.com/hackmdio/codimd to show Spanish spelling errors, I do not know anything at all about parsing the Hunspell SFX lines, but one thing seems sure; parseRuleCodes() is broken here as with the first SFX line, we fail badly:
Please take a look at https://github.com/cfinke/Typo.js/blob/master/typo/typo.js#L534 https://github.com/cfinke/Typo.js/blob/master/typo/typo.js#L327 Are you supposed to reset this.flags at some point? I tried returning something by default, adding
at Line 549 and now the dictionary works. @cfinke I hope that may be of some use to you. Best regards. |
Thanks for the heads up; I've fixed this in 14f9749 by adding support for UTF-8 flags. Running |
Hello, I managed to integrate typo.js into my nw.js + Codemirror project just fine, but can't use it with Romance languages (Italian, Spanish, French ...). When trying to load them, there is a lengthy pause an then my app crashes.
Is there a way to make those dictionaries to work?
Thanks for the great library,
i.
The text was updated successfully, but these errors were encountered: