]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0511: CursorMovedC triggered wrongly with setcmdpos() v9.1.0511
authorzeertzjq <zeertzjq@outlook.com>
Fri, 21 Jun 2024 05:51:40 +0000 (07:51 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 21 Jun 2024 05:51:40 +0000 (07:51 +0200)
commitbc6f96708e3678dbb27ec4192d87cf94a15d4e9a
treea28909aae0f2fea8f7e751fbb3acbdccf1fd4226
parent17e0a1969da4e70771435fc7fa9d8c96d25c8b00
patch 9.1.0511: CursorMovedC triggered wrongly with setcmdpos()

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>
runtime/doc/autocmd.txt
src/ex_getln.c
src/testdir/test_autocmd.vim
src/version.c