marlon-sousa / EnhancedFindDialog

Enhanced find dialog addon for NVDA, implementing improvements such as search history, optional wraping and others
MIT License
5 stars 6 forks source link

NVDA 2022.1 compatibility #7

Closed marlon-sousa closed 2 years ago

marlon-sousa commented 2 years ago

In this pr, we make the addon compatible with NVDA 2022.2.

We also fix a bug where a dialog saying that searched text is not found appears incorrectly when search wrap is active and find next / find previous are used: if content has only one instance of the searched text and the cursor is on this text, a dialog saying that the searched text was not found would appear. Now, we make the wrapped search, beep and put the cursor back on that same selection.