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

Setting a dictionary requires full restart to apply #71

Open
orgads opened this issue Sep 5, 2017 · 1 comment
Open

Setting a dictionary requires full restart to apply #71

orgads opened this issue Sep 5, 2017 · 1 comment

Comments

@orgads
Copy link
Contributor

orgads commented Sep 5, 2017

I started without any dictionary, then I set the en_US dictionary. I still received Incorrect spelling errors, until I restarted Qt Creator.

@CJCombrink
Copy link
Owner

This is a know limitation based on the current implementation, which perhaps is acceptable?
This is based on the Hunspell API, which does not allow one to remove dictionaries after creation. One can add, but that is not the ideal.
Another option will be to construct a new instance of Hunspell but I am concerned of what might happen if this happens while a project is being parsed, it can end up in a weird/unstable statel

In theory this should not be very difficult, I will play a bit with the option but for now I am only going to mark it as a feature request.

It should (in my mind) happen only once so it should not be such a big deal. I will try to make it clear that it is needed for now.

CJCombrink added a commit that referenced this issue Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants