Patch 8.2.2833

8 views
Skip to first unread message

Bram Moolenaar

unread,
May 5, 2021, 1:58:50 PM5/5/21
to vim...@googlegroups.com

Patch 8.2.2833
Problem: Two key command cancelled by moving mouse when using popup.
(Sergey Vlasov)
Solution: Ignore K_MOUSEMOVE in plain_vgetc().
Files: src/getchar.c


*** ../vim-8.2.2832/src/getchar.c 2020-12-18 19:49:52.341571870 +0100
--- src/getchar.c 2021-05-05 19:29:49.846042498 +0200
***************
*** 1932,1938 ****

do
c = safe_vgetc();
! while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR);

if (c == K_PS)
// Only handle the first pasted character. Drop the rest, since we
--- 1932,1940 ----

do
c = safe_vgetc();
! while (c == K_IGNORE
! || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR
! || c == K_MOUSEMOVE);

if (c == K_PS)
// Only handle the first pasted character. Drop the rest, since we
*** ../vim-8.2.2832/src/version.c 2021-05-04 21:56:24.877671364 +0200
--- src/version.c 2021-05-05 19:36:00.517249155 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2833,
/**/

--
hundred-and-one symptoms of being an internet addict:
232. You start conversations with, "Have you gotten a fiber connection?"

/// 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