Browse mode: When the user moves the cursor, speak before setting selection. (#10389)
Previously, for both normal cursor movement and quick navigation, we set the selection before speaking.
However, setting selection might move the focus, which might mutate the document.
For virtual buffers, the TextInfo is offset-based, so this could invalidate the offsets, causing the wrong part of the document to be spoken.
To get around this, we now speak before setting the selection.