Fix Excel cell reporting lagging behind (#14984)
Fixes #14983
Fixes #12200
Fixes #12108?
Summary of the issue:
Moving rapidly in Excel can result in lagging one cell behind when reporting focus.
Description of user facing changes
Rapid movement in Excel will now always report the last cell.
Description of development approach
First and foremost, NVDA was relying on the current focus object to cache the current selection in Excel rather than getting the current selection before executing the gesture. This resulted in the one behind behavior. There was logic to check for selection changes, but it detected a change based on the wrong old selection.
I also revamped the logic a bit based on #14708, i.e. perform three attempts before doing a time.sleep.