fixes #2820: code hints not properly selectable

This basically reverts the second part of the change introduced for
hints were being displayed, and this was causing trouble with the selection
(the previous behavior was that _updateHintList was called only for
left, right and backspace on keyup).

I also noticed that this fixed a behavior problem I was seeing in HTML code hints (I couldn't use the arrows to navigate properly in the list)