Fix UIATextInfo and MSHTMLTextInfo, updateCaret without selecting text (#13902)
Fixes #13899
Summary of the issue:
Using Notepad on Windows 11, performing Say All (nvda+downArrow|nvda+a) selects each line of text.
This is because UIATextInfo.updateCaret = UIATextInfo.updateSelection, so updating the caret sets the selection.
The same problem exists with MSHTMLTextInfo
Description of user facing changes
Say All no longer highlights each line of text.
Description of development approach
Copy the text info
Collapse the new text info (e.g the range endpoints become (start, start))
Set the selection on the new range