Editing autocomplete selection, cursor goes to the end of selected string