auto-select-all when going into text edit mode