Closed prokoudine closed 9 months ago
The application crash appears to be an issue in my code when there are no suggestions. I'll get that fixed.
As for switching languages used by the spell checker, I don't have a way (currently) to do that :) I'll get that added as well. I will probably add that in the preferences panel, unless you think there is value in changing it through the contextual dropdown menu. Thoughts?
Preferences should be fine. I don't expect people swap languages all the time, although, what do I really know? :)
I looked a bit closer at the code, the language used by the spellchecker is initially selected based on the value of the user's LANGUAGE environment variable when the application starts up. So at least it doesn't always default to something like English. At any rate, I'll get the application crash issue fixed and add a preferences selection.
I have this issue fixed in the main branch. I decided to not add the spell checker to preferences. Instead, I enhanced/fixed an issue with selecting the spell checker from the environment, so this should be more robust going forward.
The thing is, I mostly use UIs in English these days, but I still write stuff in my native language. So for me personally, defaulting to system's env settings is fine as long as it's possible to override.
Excellent point. I will add the preference setting.
I have committed a change to the main branch which adds the new preferences option. It will default to the system setting, but can be changed to any language that is supported by the enchant library on your system. If you are missing your language, add the "hunspell-ru" package (it may already be install on your system).