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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202105041957.144Jv9tl628792%40masaka.moolenaar.net.

Raspunde prin e-mail lui