Patch 9.0.1349

4 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 23, 2023, 5:15:13 PM2/23/23
to vim...@googlegroups.com

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