Update the hint list after the HOME or END keys are pressed.

This allows the js code hinter to dismiss the hints if the context has changed.