Patch 9.0.1349 (after 9.0.1347)
Problem:    "gr" with a count fails.
Solution:   Break out of the loop only after using the count.
Files:      src/edit.c


*** ../vim-9.0.1348/src/edit.c  2023-02-23 20:12:59.222636019 +0000
--- src/edit.c  2023-02-23 22:12:05.694032837 +0000
***************
*** 589,595 ****
        if (cmdchar == K_PS)
            // Got here from normal mode when bracketed paste started.
            c = K_PS;
!       else if (cmdchar == 'v' && did_loop)
            c = ESC;  // in case the stuffed Esc was consumed already
        else
            do
--- 589,595 ----
        if (cmdchar == K_PS)
            // Got here from normal mode when bracketed paste started.
            c = K_PS;
!       else if (cmdchar == 'v' && did_loop && count <= 0)
            c = ESC;  // in case the stuffed Esc was consumed already
        else
            do
*** ../vim-9.0.1348/src/version.c       2023-02-23 20:31:05.388636481 +0000
--- src/version.c       2023-02-23 22:14:20.386119026 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1349,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
173. You keep tracking down the email addresses of all your friends
     (even childhood friends).

 /// 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/20230223221508.255FB1C0857%40moolenaar.net.

Raspunde prin e-mail lui