The Clear item (menu Edit) erases the selected text.