TEDelete
The current selection range is deleted from the edit record and the text is
redrawn. If the selection range is an insertion point, nothing happens.
hTE is a handle obtained via TENew (old style TextEdit record) or TEStylNew (new style TextEdit record). It leads to a variable-length TERec structure and identifies the edit record to be affected by this change.
Notes: This works like TECut, except that nothing is copied to the scrap.