nvda
e0906cf9 - fix missing highlighter on OCR recognition results (#19168)

Commit
1 year ago
fix missing highlighter on OCR recognition results (#19168) ### Summary of the issue: There is no highlighter on the recognition result. ### Description of user facing changes: There is a highlighter on the recognition result. ### Description of developer facing changes: Added `api.fakeNVDAObjectClasses` set and `api.isFakeNVDAObject` function to identify fake NVDAObject instances. ### Description of development approach: Do not use the display model to obtain the caret rectangle of fake NVDAObjects. ### Testing strategy: Manual testing: After pressing `NVDA+r` to recognize content, move the cursor and observe whether the yellow rectangle follows. ### Known issues with pull request: By default, the highlight rectangle currently covers words rather than individual characters. --------- Co-authored-by: Cyrille Bougot <cyrille.bougot2@laposte.net>
Author
Parents
Loading