MS Word with UIA: ensure the braille display is updated when typing text. (#13020)
Fixes #12970
Fixes #13004
Fixes regression caused by pr #12868
Summary of the issue:
When accessing an MS Word document via UIA, the braille display is not updated when typing characters into the document, although it does correctly update if the caret is moved with the arrow keys and such.
Generally, NVDA tells braille to update for each caret event. However, In Microsoft Word, although the caret does technically move when typing characters, Microsoft Word only fires a UIA textchange event (NVDA textChange event), and not a caret event (UIA textSelectionChanged event).
Before pr #12868 , Braille did seem to update correctly, but that was because NvDA was incorrectly passing an MSAA caret event into the UIA NVDAObject with focus.
Description of how this pull request fixes the issue:
On the MS Word document NVDAObject, implement an event_textChange method which just instructs Braille to update.