]> git.eshelyaron.com Git - emacs.git/commit
Do highlighting of alternative matches all at once,
authorRichard M. Stallman <rms@gnu.org>
Wed, 3 Jan 2001 00:18:53 +0000 (00:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 3 Jan 2001 00:18:53 +0000 (00:18 +0000)
commit67ecad4e099fc12553eba93480c5160de890e4b3
treed390c9d11829736edc0e318bedccfdc39e8122a3
parenteff409bad38ccd10de13f920badaed8f7ff1d0f9
Do highlighting of alternative matches all at once,
but only do it in the text that's visible in the selected window.

(isearch-lazy-highlight-cleanup): Arg now says
to remove all the current alternative-match highlighting.
If nil, remove only what's outside the current window.
(isearch-lazy-highlight-remove-overlays): Take optional
region within which NOT to remove them.
(isearch-lazy-highlight-new-loop): Greatly simplified.
(isearch-lazy-highlight-update): Find all the other occurrences
visible in the window, in just one call.

(isearch-lazy-highlight-start): Now holds start of region to scan.
(isearch-lazy-highlight-end): Now holds end of region to scan.
(isearch-lazy-highlight-wrapped): Variable deleted.
(isearch-lazy-highlight-search): Function deleted.
lisp/isearch.el