Next/previous search result in editor page using shortcut stops at result 0 and maximum results instead of wrapping around
Steps to reproduce:
- Open a file in an editor page
- Press Ctrl+F and type something
- with the focus still on the entry, keep Ctrl+Shift+G or Ctrl+G pressed
Current behaviour: The search stops either at result 0 for the shift one, or at the last result with Ctrl+G
Expected behaviour: The search wraps around
This bug only happens if the cursor is in the search entry, so if you put the focus on the editor page or press tab to change to one of the search bar buttons, it'll wrap around.