Respect text selection when typing, cutting, copying, pasting.