History text selection and updating