[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 7133220938: Make sure visual markers are up to date i
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 7133220938: Make sure visual markers are up to date in evil-visual-range |
Date: |
Tue, 16 Aug 2022 09:58:24 -0400 (EDT) |
branch: elpa/evil
commit 71332209386e431ae13442f20468b2edb59f727b
Author: Justin Burkett <justin@burkett.cc>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Make sure visual markers are up to date in evil-visual-range
With composed characters in the buffer, such as with prettify-symbol-mode
active, emacs may adjust point after the post-command-hook is run. In this
case,
evils visual markers do not get updated prior to say evil-delete and the
deleted
region does not agree with what is seen visually (only part of the composed
characters are deleted). Forcing a last update using evil-visual-refresh
in evil-visual-range resolves this issue.
---
evil-states.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/evil-states.el b/evil-states.el
index 8e3f9c328b..9686062b2b 100644
--- a/evil-states.el
+++ b/evil-states.el
@@ -743,6 +743,7 @@ This is a list (BEG END TYPE PROPERTIES...), where BEG is
the
beginning of the selection, END is the end of the selection,
TYPE is the selection's type, and PROPERTIES is a property list
of miscellaneous selection attributes."
+ (evil-visual-refresh)
(apply #'evil-range
evil-visual-beginning evil-visual-end
(evil-visual-type)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/evil 7133220938: Make sure visual markers are up to date in evil-visual-range,
ELPA Syncer <=