[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3b40e99 142/399: swiper.el (swiper-isearch-action): Fix fa
From: |
Oleh Krehel |
Subject: |
[elpa] master 3b40e99 142/399: swiper.el (swiper-isearch-action): Fix fake cursor at eol |
Date: |
Sat, 20 Jul 2019 14:57:11 -0400 (EDT) |
branch: master
commit 3b40e99812d7a4c46a97fa63e71643dd65c88517
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
swiper.el (swiper-isearch-action): Fix fake cursor at eol
---
swiper.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/swiper.el b/swiper.el
index a5d3014..307eb4d 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1165,8 +1165,10 @@ See `ivy-format-function' for further information."
(unless (eq ivy-exit 'done)
(swiper--cleanup)
(swiper--add-overlays (ivy--regex ivy-text))
- (let ((ov (make-overlay (point) (1+ (point)))))
- (overlay-put ov 'face 'ivy-cursor)
+ (let ((ov (make-overlay (point) (if (eolp) (point) (1+ (point))))))
+ (if (eolp)
+ (overlay-put ov 'after-string (propertize " " 'face
'ivy-cursor))
+ (overlay-put ov 'face 'ivy-cursor))
(push ov swiper--overlays))))
(swiper--cleanup)))
@@ -1176,6 +1178,7 @@ See `ivy-format-function' for further information."
(swiper--init)
(setq swiper--isearch-last-point (line-beginning-position))
(let ((ivy-fixed-height-minibuffer t)
+ (cursor-in-non-selected-windows nil)
(swiper-min-highlight 1)
res)
(unwind-protect
- [elpa] master adad2e4 127/399: counsel.el: Strip space from initial input of counsel-package, (continued)
- [elpa] master adad2e4 127/399: counsel.el: Strip space from initial input of counsel-package, Oleh Krehel, 2019/07/20
- [elpa] master df8901f 132/399: swiper.el (swiper-query-replace): Add preview overlays, Oleh Krehel, 2019/07/20
- [elpa] master dc3f469 131/399: swiper.el (swiper-isearch): Extend, Oleh Krehel, 2019/07/20
- [elpa] master bc479ed 134/399: swiper.el (swiper-isearch): Fix minibuffer height, Oleh Krehel, 2019/07/20
- [elpa] master fa2e02d 137/399: ivy-overlay.el (ivy-cursor): Customize for dark background, Oleh Krehel, 2019/07/20
- [elpa] master 8edde1c 135/399: swiper.el (swiper-isearch): Change prompt, Oleh Krehel, 2019/07/20
- [elpa] master 66961f8 138/399: swiper.el (swiper-isearch-action): Add a cursor overlay, Oleh Krehel, 2019/07/20
- [elpa] master ce31009 144/399: swiper.el (swiper-isearch-function): Use text with faces, Oleh Krehel, 2019/07/20
- [elpa] master 8229304 141/399: ivy.el: Add display transformer for counsel-dired, Oleh Krehel, 2019/07/20
- [elpa] master fef96f4 139/399: counsel.el (counsel--find-file-1): Extract, Oleh Krehel, 2019/07/20
- [elpa] master 3b40e99 142/399: swiper.el (swiper-isearch-action): Fix fake cursor at eol,
Oleh Krehel <=
- [elpa] master eaba38a 145/399: counsel.el (counsel-dired-jump-args): Fix for OSX, Oleh Krehel, 2019/07/20
- [elpa] master 7c9d960 143/399: swiper.el (swiper--add-cursor-overlay): Extract, Oleh Krehel, 2019/07/20
- [elpa] master 9988904 150/399: counsel.el (counsel--switch-buffer-update-fn): Fix for when find-file fails, Oleh Krehel, 2019/07/20
- [elpa] master 05a4e59 147/399: Do not use invalid :preselect as a regexp, Oleh Krehel, 2019/07/20
- [elpa] master 3ab3d5f 152/399: swiper.el (swiper-isearch): Check executing-kbd-macro, Oleh Krehel, 2019/07/20
- [elpa] master 302d23f 149/399: counsel.el: Fix org-version testing, Oleh Krehel, 2019/07/20
- [elpa] master cd41f70 153/399: ivy-test.el: Add inhibit-message, Oleh Krehel, 2019/07/20
- [elpa] master 1df4ccf 154/399: ivy.el (ivy-occur-revert-buffer): Add swiper-isearch, Oleh Krehel, 2019/07/20
- [elpa] master 4f1bbc1 151/399: swiper.el (swiper-isearch-function): Full point history for DEL, Oleh Krehel, 2019/07/20
- [elpa] master 0bf94f8 156/399: ivy.el (ivy--occur-press-update-window): Add swiper-isearch, Oleh Krehel, 2019/07/20