4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion)
12 Solution: Set "skip_match" to advance to the next line.
16 *** ../vim-7.0.216/src/ex_cmds.c Tue Feb 27 16:51:07 2007
17 --- src/ex_cmds.c Thu Mar 15 21:31:35 2007
20 /* For a multi-line match, put matchcol at the NUL at
21 * the end of the line and set nmatch to one, so that
22 * we continue looking for a match on the next line.
23 ! * Avoids that ":s/\nB\@=//gc" get stuck. */
26 matchcol = (colnr_T)STRLEN(sub_firstline);
32 /* For a multi-line match, put matchcol at the NUL at
33 * the end of the line and set nmatch to one, so that
34 * we continue looking for a match on the next line.
35 ! * Avoids that ":%s/\nB\@=//gc" and ":%s/\n/,\r/gc"
36 ! * get stuck when pressing 'n'. */
39 matchcol = (colnr_T)STRLEN(sub_firstline);
44 *** ../vim-7.0.216/src/version.c Sun Mar 11 15:53:27 2007
45 --- src/version.c Thu Mar 15 21:36:34 2007
49 { /* Add new patch number below this line */
55 A mathematician is a device for turning coffee into theorems.
57 A computer programmer is a device for turning coffee into bugs.
60 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
61 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\ download, build and distribute -- http://www.A-A-P.org ///
63 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///