Kévin Le Gouguec <kevin.legoug...@gmail.com> writes: > 1.2. stumps me: is there an isearch API I can use while in the callback > to know where the matches are located?
I do not think that there is direct API for this, but the match should be accessible through match-beginning/match-end, as I can see from the isearch.el code. > For 2.1, I guess we will need to cache the temporary invisible overlays > we add during step 1. in a global list; that way when it's time to > destroy them, we can simply iterate on the list? That's what I do in org-fold--isearch-show-temporary. Best, Ihor