SpellChecker-Plugin icon indicating copy to clipboard operation
SpellChecker-Plugin copied to clipboard

Setting a dictionary requires full restart to apply

Open orgads opened this issue 8 years ago • 1 comments

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

orgads avatar Sep 05 '17 08:09 orgads

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 avatar Sep 06 '17 20:09 CJCombrink