-
Notifications
You must be signed in to change notification settings - Fork 34
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
mult lang spell don't work #270
Comments
Unfortunately cannot be reproduced from my side, maybe it is some problem with settings so multiple languages are no longer chosen, what it shows if you press |
I'm also affected by the problem (or a very similar problem) since a couple of months. But only recently found a way to reliably reproduce it. Notepad++ 8.4.3 (64-bit version) Test case
NB: |
Thank you for the test case @er13, I can reproduce it and will certainly look at what is going on. |
So I understand the problem but I'm not sure whose responsibility it should be to fix that unfortunately. Also as far as I understand it seems to be different from firefox. The problem is that |
Hmm, what about ignoring (i.e. not checking) the words containing On the other hand, I also don't understand all these Edit: Edit2: |
Created an issue in the project developing the Ukrainian dictionary. |
I believe it's possible to have a workaround which ignores words which had something converted to |
@Predelnik: the workaround you implemented in c31e59b is not good. The typical error/typo in Ukrainian is the usage of Latin «i» instead of Ukrainian «і» (e.g. «гранiтний» instead of «гранітний»). With you workaround the Latin «i» would be replaced with 0, the number of zeros would get increased and the whole word would be excluded from the spellchecking. This is not good. Please check as requested for |
On one hand what you are saying makes sense but seems like fix technically still works because I only add logic to treat word with Latin characters as incorrect without changes for other cases. So for the word containing Latin |
Hmm, to be honest I don't see your
neither in c31e59b nor in src/spellers/HunspellInterface.cpp. Could you please point me out where this check for Latin only words takes place? Besides that a performance argument:
|
By Performance argument doesn't matter because
I don't think all these things are important to be honest, if it works for your example case which seems to be true I fail to see the problem. |
I mean
If you change the name of the function from
to
then you would significantly increase the performance. Off course the costly line |
But it's pretty obvious that in current case I can also short-circuit if I encountered any |
Ok it's up to you, I just provided my argumentative feedback after reviewing the code. My point is "less optimal code there", "less optimal code somewhere else" - at some point in time you will notice a performance degradation. If you have a chance to do it in a more optimal way, then do it straight away. |
@Predelnik I'm fine with the workaround based on the manual edit of uk_UA.aff until then. And thanks once again for analyzing the issue. I would however consider my case as unrelated to that of the original bug reporter. The original bug reporter doesn't use the Ukrainian dictionary at all. |
Thank you for the information, @er13, I will probably abstain from merging the workaround for now. |
I think the Korean language has a similar problem, although I'm unsure whether it's the same culprit. I'm a total newbie when it comes to dictionary files structure, but https://raw.githubusercontent.com/LibreOffice/dictionaries/master/ko_KR/ko_KR.dic contains these lines:
and after removing them, the multi language spell check seems to be working correctly. |
Multiple languages spell check stop work after v8.1.5 (probably)
Now I have
DSpellCheck 1.4.21.0 - 64bit
Notepad++ v8.1.7 - 64bit
and spell check works only for 1 language...
The text was updated successfully, but these errors were encountered: