Patch 8.2.4262

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 30, 2022, 12:19:36 PM1/30/22
to vim...@googlegroups.com

Patch 8.2.4262 (after 8.2.4261)
Problem: Some search tests fail.
Solution: Use a better way to reject searching for the Visual area.
Files: src/regexp.c


*** ../vim-8.2.4261/src/regexp.c 2022-01-30 16:42:52.501450826 +0000
--- src/regexp.c 2022-01-30 17:15:33.407283151 +0000
***************
*** 1268,1274 ****
colnr_T curswant;

// Check if the buffer is the current buffer and not using a string.
! if (rex.reg_buf != curbuf || VIsual.lnum == 0 || rex.reg_maxline == 0)
return FALSE;

if (VIsual_active)
--- 1268,1274 ----
colnr_T curswant;

// Check if the buffer is the current buffer and not using a string.
! if (rex.reg_buf != curbuf || VIsual.lnum == 0 || !REG_MULTI)
return FALSE;

if (VIsual_active)
*** ../vim-8.2.4261/src/version.c 2022-01-30 16:42:52.505450760 +0000
--- src/version.c 2022-01-30 17:17:10.349722272 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4262,
/**/

--
OLD WOMAN: King of the WHO?
ARTHUR: The Britons.
OLD WOMAN: Who are the Britons?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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