Patch 8.2.2832

5 views
Skip to first unread message

Bram Moolenaar

unread,
May 4, 2021, 3:57:17 PM5/4/21
to vim...@googlegroups.com

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


*** ../vim-8.2.2831/src/normal.c 2021-04-04 21:26:00.948568645 +0200
--- src/normal.c 2021-05-04 21:46:12.859073971 +0200
***************
*** 1119,1127 ****
old_mapped_len = typebuf_maplen();

/*
! * If an operation is pending, handle it. But not for K_IGNORE.
*/
! if (ca.cmdchar != K_IGNORE)
do_pending_operator(&ca, old_col, FALSE);

/*
--- 1119,1128 ----
old_mapped_len = typebuf_maplen();

/*
! * If an operation is pending, handle it. But not for K_IGNORE or
! * K_MOUSEMOVE.
*/
! if (ca.cmdchar != K_IGNORE && ca.cmdchar != K_MOUSEMOVE)
do_pending_operator(&ca, old_col, FALSE);

/*
*** ../vim-8.2.2831/src/version.c 2021-05-03 21:40:05.011799095 +0200
--- src/version.c 2021-05-04 21:55:49.761755517 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2832,
/**/

--
hundred-and-one symptoms of being an internet addict:
229. You spend so much time thinking what to add on this list.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages