-
Notifications
You must be signed in to change notification settings - Fork 383
Description
Environment
- TeXstudio: 4.2.2
- Qt: 6.2.4 compiled with 6.2.3 R
- OS: Linux (Arch)
- TeX distribution: texlive
Expected behavior
Suppose one wishes to add a proper name of someone you cite/discuss often to your dictionary so it isn't flagged as a misspelling. I will use "Lindley" as an example. Either one should have to add both the name, e.g., "Lindley", and the possessive form, e.g., "Lindley's" to the dictionary separately, or, by adding the former it should make the latter no longer treated as a misspelling permanently.
Actual behavior
If you run a spell check command and it comes across "Lindley's" in the document, you are only given the option of adding "Lindley" to the dictionary, not "Lindley's". However, adding "Lindley" to the dictionary only temporarily makes "Lindley's" not treated as a spelling mistake. If you make another spelling mistake, retype "Lindley's", or close and reopen the document, "Lindley's" is again flagged as a spelling mistake. Now, if you run another Spell Check on the document, it doesn't even find "Lindley's" even though it is underlined. You can right click on it and tell it to add it to the dictionary again, but again, the effect is only temporary. The only way to make it permanent is to manually add "Lindley's" as well as "Lindley" to the dictionary through the "Show User Words" interface, or by manually editing the .ign file.
How to reproduce
Create a new document. Type the possessive form of any name which would not be in the dictionary already. Run a spell check. Add the non-possessive name to the dictionary. Type another misspelled word into the editor and the underlining on the possessive name will reappear.
(Note: I'm not a regular TeXStudio user; I am relaying this from an issue in the TeX stackexchange site.)