mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 16:56:08 +08:00
9acb8b48a8
Summary: Previously we were only debouncing one function in onContentChanged. This would cause us to do very expensive things on every keypress in the things that weren't debounced. This diff changes things so that we debounce the entire process of running the spellchecker. Test Plan: Run locally, make sure spellchecker doesn't run on every keypress. Misspell lots of things, type really quickly, paste large chunks of text into the composer. Reviewers: evan, spang, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3791 |
||
---|---|---|
.. | ||
lib | ||
spec | ||
package.json |