You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swiper-isearch was recently improved to honor char-folding in its searches (#2095). While the search works nicely, the fontification of candidates when char-folding occurs is not done in the buffer. (Sorry to have missed that when I tested it then.)
And search for either "foo", "bar" or "baz". Notice the candidate fontification occurs in the minibuffer for all candidates, but not in the buffer itself, where it works when no char-folding is taking place (including when case-folding is happening) but not when an accented character comes into play.
The text was updated successfully, but these errors were encountered:
- Capture each part into a group
- Set `ivy--subexps' so that each match group is highlighted
- Switch from greedy to non-greedy
* swiper.el (swiper--delayed-add-overlays): Use
`swiper--positive-regexps' so that `swiper-isearch' highlighting
works better.
Fixesabo-abo#2124
swiper-isearch
was recently improved to honor char-folding in its searches (#2095). While the search works nicely, the fontification of candidates when char-folding occurs is not done in the buffer. (Sorry to have missed that when I tested it then.)Steps to reproduce:
Start
emacs -Q
.Run
M-x package-initialize RET
.Start
M-x ivy-mode RET
Eval
(setq search-default-mode #'char-fold-to-regexp)
Consider a buffer with the following content:
And search for either "foo", "bar" or "baz". Notice the candidate fontification occurs in the minibuffer for all candidates, but not in the buffer itself, where it works when no char-folding is taking place (including when case-folding is happening) but not when an accented character comes into play.
The text was updated successfully, but these errors were encountered: