Re: patch: adjust caret position when selected text got removed.