Don't commit code hints when tab key is pressed.

Fix for #4904.

If code hints are open, pressing the Tab key closes the hints _without_ committing. 

If needed, we can make this a preference once we have a UI for preferences like this.