when highlighting a token, type anything other than enter or backspace should use
the input text to replace currently highlighted text