Highlight result positions on the right hand side with CodeMirror 6

With CodeMirror 5, the search functionality provided a way to see the result’s positions on the right hand side, as highlighted.

Is this possible with CodeMirror 6?

No such extension exists yet — but it should be possible to write a similar one.

I’d like to try. Where would I start to do it?
If it proves too difficult without really knowing CodeMirror, do you know somebody I could offer a small $200 token as a bounty to write it and then provide a PR for your awesome project?

(Somebody who would possibly write it anyway, and would be nudged by the small offer)