]> code.delx.au - gnu-emacs-elpa/commit
Add `avy-lead-face-1' for dimmed matched chars
authorOleh Krehel <ohwoeowho@gmail.com>
Tue, 12 May 2015 10:36:18 +0000 (12:36 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Tue, 12 May 2015 10:46:09 +0000 (12:46 +0200)
commit8efed4072a9b17ec89db73c56995d95a4891f49f
tree03ae213e1cfae41baa5e1c541debe0e895ad5d1d
parente35f1ed51f56601938aeb0fd343798661fecfaf4
Add `avy-lead-face-1' for dimmed matched chars

* avy.el (avy-lead-face-0): Update doc.
(avy-lead-face-1): New face.
(avy-current-path): New defvar.
(avy-read): Store the current matched chars in `avy-current-path'.
(avy--overlay-pre):
(avy--overlay-post): Extend the string with the matched part. This
prevents shifting during selection, and looks nice too.

Fixes #38
avy.el