code
code copied to clipboard
Search occurrence label does not update after global search
What Happened?
After performing a search on the current document, the search occurrence label shows the number of matches and the current match. However after performing a global search this label is not updated and can show incorrect information.
Steps to Reproduce
- Perform a local search for a certain string (with matches)
- Perform a global search for a different string (with matches)
- The search occurrence label still shows the information form the first search.
- Switch to another document with global matches
- The search occurrence label shows "No results" even though matches are highlighted.
Expected Behavior
The search occurrence label always shows accurate information regarding the the number of matches highlighted in the current document.
OS Version
6.x (Odin)
Software Version
Compiled from git
Log Output
No response
Hardware Info
No response