Now the event replaces all text in the text view.