invalidateSpellCheckSpans
Remove spell-check decorations affected by an edit operation.
Called as edits stream in so stale decorations disappear immediately, ahead of the debounced re-check. No-op for span and line-block operations, which move no text.
The flags have already moved with the edit, so they are read in the text after it: those over or touching the text it wrote, or the point a deletion closed up. A flag on a word beside it goes too, and comes back with the re-check. Edits that have landed since operation must be passed with it, through the overload taking a list.
Parameters
The TextEditOperation that mutated the document.
Remove the spell-check decorations operations affected, edits that landed one after another with no other since: each is read in the text after it, as moved by those after it. See the overload for one edit.