Help / Writing
Autocomplete
While you type a word of three letters or more, Spry shows the rest of it in gray after the cursor. When there is more than one likely word, up to three are listed under it: ↑ ↓ choose one (the gray text follows), and Tab takes it. Enter takes it too once you have used ↑ or ↓; before that, Enter is an ordinary new line. Press Tab to accept it, Ctrl+→ to accept one word of a longer suggestion, Esc to dismiss it, or just keep typing. When nothing is shown, Tab does what it always did.
Where the words come from. First the words already in this note (the ones you use most come first), then the words you added to the dictionary, then the dictionaries. A word that spelling would underline is never offered. Nothing is offered in code.
Sources. The words come from your notes and the dictionary; each has its own switch in Settings. A plugin can add another source (one that writes whole phrases, say) and gives it its own switch.
Switching it off. Right-click with nothing selected, choose Suggestions and click Autocomplete. The same switch is in Settings ▸ Writing ▸ Spelling. Spelling check is right beside it.