Search current file: highlight all matches

Currently matches are highlighted in preview mode. I’d like to have it similar to what we have in browsers:

  • after entering text, it shows something like 7/10, meaning there are 10 matches and the current match is 7th
  • all matches are shown in both edit and preview mode
  • the current match is in different color
6 Likes

I would really love this feature too. The highlight field seems a bit weak, visually, and the match count would be gratefully received.

2 Likes

It’s weird that this already works pretty much as described in preview mode, but in edit mode you can only highlight all matches or cycle through individual ones, not both at the same time.

Also I’d suggest adding highlights on the scroll bar to see where the matches are.