diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-21 07:51:40 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-21 07:51:40 +0200 |
commit | bc6f96708e3678dbb27ec4192d87cf94a15d4e9a (patch) | |
tree | a28909aae0f2fea8f7e751fbb3acbdccf1fd4226 /runtime/doc/autocmd.txt | |
parent | 17e0a1969da4e70771435fc7fa9d8c96d25c8b00 (diff) |
patch 9.1.0511: CursorMovedC triggered wrongly with setcmdpos()v9.1.0511
Problem: CursorMovedC triggered wrongly with setcmdpos()
(after v9.1.0507)
Solution: Remove the premature triggering. Also don't trigger when
cursor didn't move. (zeertzjq)
closes: #15064
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 27ab2c73c5..e19d6015e8 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 9.1. Last change: 2024 Jun 20 +*autocmd.txt* For Vim version 9.1. Last change: 2024 Jun 21 VIM REFERENCE MANUAL by Bram Moolenaar @@ -751,7 +751,8 @@ CursorMoved After the cursor was moved in Normal or Visual that is slow. *CursorMovedC* CursorMovedC After the cursor was moved in the command - line. Be careful not to mess up the + line while the text in the command line hasn't + changed. Be careful not to mess up the command line, it may cause Vim to lock up. <afile> is set to a single character, indicating the type of command-line. |