Overwrite selected text.