Mailspring/internal_packages/composer-spellcheck
Mark Hahnenberg 9acb8b48a8 [spellcheck] Fix spellcheck debouncing
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
2017-01-26 13:40:45 -08:00
..
lib [spellcheck] Fix spellcheck debouncing 2017-01-26 13:40:45 -08:00
spec fix(spellchecker) Fix spellchecker specs 2016-11-17 14:51:24 -08:00
package.json deps(*): Lift deps out of packages for simpler install / better deduping 2016-11-09 14:24:10 -08:00