Reference: Script Editor Program/Edit Menu
Deletes the selected text. This selection is also available from the keyboard using the Del key.
Warning: There is no undo function. Deleted text cannot be recovered! Be sure of your selection before exercising this function.