I’m trying to figure out whether it’s possible to spell check a document in Sublime without using the mouse.
There are bindings to turn spell checking on/off and to move between misspelled words, but none to trigger the “suggest correction / ignore” options which appear in the context menu when you right click on a misspelled word.
I looked through the Default package and the ST3 API and I’m mystified by how spell checking works. I can only find mentions to the three bindings I mentioned but none about how the “suggest correction / ignore” options work.
Ideally, I would like to be able to trigger a command when the cursor is on top (or has highlighted) a misspelled word that triggers something like the autocomplete menu. Using the mouse is very cumbersome, especially because I often write with the mouse partly disabled. (That’s a feature of one of my own packages.)
Can anyone tell me if this is possible and perhaps suggest where I should begin looking for implementing this?