• R/O
  • SSH

vim: コミット

Mirror of the Vim source from https://github.com/vim/vim


コミットメタ情報

リビジョンb7f58be68c021d8335281229698b9cc700c664b3 (tree)
日時2021-05-05 05:00:06
作者Bram Moolenaar <Bram@vim....>
コミッターBram Moolenaar

ログメッセージ

patch 8.2.2832: operator cancelled by moving mouse when using popup

Commit: https://github.com/vim/vim/commit/1ad72c8eb601d681c84b47380fc31b6d23602d51
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 4 21:56:28 2021 +0200

patch 8.2.2832: operator cancelled by moving mouse when using popup
Problem: Operator cancelled by moving mouse when using popup. (Sergey
Vlasov)
Solution: Do not trigger an operator for a mouse move events. (closes #8176)

変更サマリ

差分

diff -r 2cbf16b37b92 -r b7f58be68c02 src/normal.c
--- a/src/normal.c Mon May 03 21:45:04 2021 +0200
+++ b/src/normal.c Tue May 04 22:00:06 2021 +0200
@@ -1119,9 +1119,10 @@
11191119 old_mapped_len = typebuf_maplen();
11201120
11211121 /*
1122- * If an operation is pending, handle it. But not for K_IGNORE.
1122+ * If an operation is pending, handle it. But not for K_IGNORE or
1123+ * K_MOUSEMOVE.
11231124 */
1124- if (ca.cmdchar != K_IGNORE)
1125+ if (ca.cmdchar != K_IGNORE && ca.cmdchar != K_MOUSEMOVE)
11251126 do_pending_operator(&ca, old_col, FALSE);
11261127
11271128 /*
diff -r 2cbf16b37b92 -r b7f58be68c02 src/version.c
--- a/src/version.c Mon May 03 21:45:04 2021 +0200
+++ b/src/version.c Tue May 04 22:00:06 2021 +0200
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 2832,
755+/**/
754756 2831,
755757 /**/
756758 2830,
旧リポジトリブラウザで表示