Predelnik / DSpellCheck

Notepad++ Spell-checking Plug-in
GNU General Public License v2.0
198 stars 32 forks source link

Can’t Add Word to Dictionary if It Has Right Single Quote #343

Open aksarben opened 2 months ago

aksarben commented 2 months ago

I think I found a clue to what’s happening. If delete a character in the “misspelled” word, then immediately re-insert it, I am then able to add the “misspelled” word to the dictionary. It worked if I delete the right single quote, or any other character, in the word. I tested it on a dozen different words, and verified it wasn’t a fluke by closing, then re-opening Notepad++. The ’“added” words are no longer marked as misspelled after Notepad is reopened.

In my AFFIX file, the single ICONV entry is as follows:

ICONV <2019> <0027>

With this new clue, hopefully the bug will be easy to find & fix.


I can add other words to dictionary just fine, but not words containing a right single quote (U+2019).

No error message appears, but the spelling error never goes away.

My system info:

Notepad++ v8.6.7 (64-bit) Build time : May 12 2024 - 20:04:00 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF Periodic Backup : OFF OS Name : Windows 10 Home (64-bit) OS Version : 22H2 OS Build : 19045.4412 Current ANSI codepage : 1252 Plugins : ComparePlugin (2.0.2) DSpellCheck (1.5) mimeTools (3.1) NppConverter (4.6) NppExport (0.4)

Predelnik commented 1 month ago

Can you please show which options do you have on Plugins->DSpellCheck->Settings->Advanced page? I think by default, currently, right single quote (U+2019) won't be consider part of a word, thus won't be added to dictionary.