Patch 8.1.2377

7 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 1, 2019, 1:37:40 PM12/1/19
to vim...@googlegroups.com

Patch 8.1.2377
Problem: GUI: when losing focus a pending operator is executed.
Solution: Do not execute an operator when getting K_IGNORE. (closes #5300)
Files: src/normal.c


*** ../vim-8.1.2376/src/normal.c 2019-11-17 17:06:25.824081732 +0100
--- src/normal.c 2019-12-01 19:33:22.744955140 +0100
***************
*** 1099,1107 ****
old_mapped_len = typebuf_maplen();

/*
! * If an operation is pending, handle it...
*/
! do_pending_operator(&ca, old_col, FALSE);

/*
* Wait for a moment when a message is displayed that will be overwritten
--- 1099,1108 ----
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);

/*
* Wait for a moment when a message is displayed that will be overwritten
*** ../vim-8.1.2376/src/version.c 2019-12-01 18:58:07.614835593 +0100
--- src/version.c 2019-12-01 19:31:24.129252075 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 2377,
/**/

--
"Hit any key to continue" it said, but nothing happened after F sharp.

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