MacOS – Disable ESC key yielding list of word suggestions when pressed in Preview in OSX 10.11.2

keyboardmacospreviewsearch

In preview (and apparently also in other Apple apps like Keynote, although I cannot reproduce), I get the unexpected behavior of getting a list of words when pressing the escape key in an empty search dialog.

word suggestions upon ESC click in empty search box

If I type something in the search box, select it and then press the ESC key, the search dialog is closed (as desired). With text in a newly created text box, behavior is similar only that I get these suggestions also when pressing ESC on a selected text.
I don't know why I'm getting these things and my attempts to turn this behavior off have been in vain so far. (like "system preferences – keyboard – text – automatic correction -> off" didn't seem to have something to do with it)

Anybody an idea 1. why this could ever be desired (cause to me it doesn't seem like a kind of spelling correction, it just gives me high frequency German (in my case) words.) and 2. how I can turn this off?

Best Answer

It's the auto completion from the built in spell checker and after a lengthy search I found the solution in Apples Discussion Forums:

defaults write -g NSUseSpellCheckerForCompletions -bool false

Afterwards restart affected programs and Esc just cancels searches again.