4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using the 'c' flag with searchpair() may cause it to fail. Using
12 the 'r' flag doesn't work when 'wrapscan' is set. (A.Politz)
13 Solution: Only use the 'c' flag for the first search, not for repeating.
14 When using 'r' imply 'W'. (Antony Scriven)
18 *** ../vim-7.1.237/src/eval.c Sat Jan 12 16:45:25 2008
19 --- src/eval.c Tue Jan 22 11:42:28 2008
26 + /* Using 'r' implies 'W', otherwise it doesn't work. */
27 + if (flags & SP_REPEAT)
30 /* Optional fifth argument: skip expression */
31 if (argvars[3].v_type == VAR_UNKNOWN
32 || argvars[4].v_type == VAR_UNKNOWN)
40 + /* clear the start flag to avoid getting stuck here */
41 + options &= ~SEARCH_START;
43 /* If the skip pattern matches, ignore this match. */
45 *** ../vim-7.1.237/src/version.c Tue Jan 22 11:06:06 2008
46 --- src/version.c Tue Jan 22 11:57:28 2008
50 { /* Add new patch number below this line */
56 To keep milk from turning sour: Keep it in the cow.
58 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
59 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60 \\\ download, build and distribute -- http://www.A-A-P.org ///
61 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///