When using Mac OS editor emulation, Delete Selection Mode is active so that selected text is deleted when you type or paste text. Also,
Delete
deletes the current selection.
Note: Delete Selection Mode can also be used independently of Mac OS editor emulation. See Delete Selection for details.