Respect text selection for Backspace, Delete, Enter, Tab keys.