Summary
When I use Add to dictionary on a misspelling, later occurrences of the same word in the same check session still appear. The word is saved correctly and is ignored on the next full check, but not for the rest of the current queue.
Steps to reproduce
- Open a note that contains the same unknown word multiple times (e.g.
Khononov appears 3+ times).
- Run Check spelling and grammar.
- On the first instance, click Add to dictionary.
- Continue through the remaining issues.
Expected
After adding a word/phrase to the dictionary, any later issues in the current session whose matched text equals that dictionary entry (case-insensitive, same as existing dictionary matching) are skipped automatically.
Actual
The word is persisted for future checks, but the current session still shows every remaining instance. I have to Ignore/Next through them, or re-run Check.
Notes / likely cause
Issues appear to be built once at check time (buildIssues filters against customWords), then the modal advances through that fixed list. Add to dictionary updates customWords and advances, but does not remove or skip later queue items that match the newly added text.
Summary
When I use Add to dictionary on a misspelling, later occurrences of the same word in the same check session still appear. The word is saved correctly and is ignored on the next full check, but not for the rest of the current queue.
Steps to reproduce
Khononovappears 3+ times).Expected
After adding a word/phrase to the dictionary, any later issues in the current session whose matched text equals that dictionary entry (case-insensitive, same as existing dictionary matching) are skipped automatically.
Actual
The word is persisted for future checks, but the current session still shows every remaining instance. I have to Ignore/Next through them, or re-run Check.
Notes / likely cause
Issues appear to be built once at check time (
buildIssuesfilters againstcustomWords), then the modal advances through that fixed list. Add to dictionary updatescustomWordsand advances, but does not remove or skip later queue items that match the newly added text.