FWIW, calibre's plugin environment is a lot more closely bound to the editor, since they both share the same python environment. In calibre, editor plugins can directly call the spellchecker.
In fact, you don't even need a plugin -- see:
The power of function mode - using a spelling dictionary to fix mis-hyphenated words.