gecko-dev/extensions/spellcheck
James Teh 1fcd045e66 Bug 1771736 part 1: Update cached spelling errors when a spelling error is removed. r=morgan,smaug
I originally thought we didn't need to be explicitly notified about removals because a correction always triggers a text change and we push a cache update for spelling errors whenever the text changes.
However, it seems that even when a correction is made and the text changes, the spell check ranges aren't yet up to date.
Previously, we were pushing a cache update whenever text was reflowed, which was taking care of this.
Soon, we don't want to push text cache updates if the text doesn't actually change.
We remove the reliance on these redundant text updates by having an explicit notification for spell check removals.

Differential Revision: https://phabricator.services.mozilla.com/D147655
2022-06-01 00:35:26 +00:00
..
docs hg diff Bug 1695756 - Import the 'Adding a new word to the en-US dictionary' doc r=firefox-source-docs-reviewers,flod,championshuttler DONTBUILD 2021-03-02 13:25:44 +00:00
hunspell Bug 1761464 - Load dictionaries lazily; r=smaug 2022-04-01 18:57:41 +00:00
idl Bug 1402822 - Support multiple dictionaries in mozISpellCheckingEngine.idl; r=smaug 2022-03-23 13:53:36 +00:00
locales
src Bug 1771736 part 1: Update cached spelling errors when a spelling error is removed. r=morgan,smaug 2022-06-01 00:35:26 +00:00
tests Bug 1765156 - Part 5: Use SpecialPowers.ChromeUtils.import in extensions/. r=kmag 2022-05-03 06:32:26 +00:00
moz.build hg diff Bug 1695756 - Import the 'Adding a new word to the en-US dictionary' doc r=firefox-source-docs-reviewers,flod,championshuttler DONTBUILD 2021-03-02 13:25:44 +00:00