editor scrolls to cursor after autocomplete