4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Obtaining the '( mark changes the '' mark. (Gary Holloway)
12 Solution: Don't set the '' mark when searching for the start/end of the
13 current sentence/paragraph.
17 *** ../vim-6.2.044/src/mark.c Sat Apr 19 16:06:43 2003
18 --- src/mark.c Mon Jun 23 22:20:34 2003
25 + int slcb = listcmd_busy;
27 pos = curwin->w_cursor;
28 + listcmd_busy = TRUE; /* avoid that '' is changed */
29 if (findpar(&oa, c == '}' ? FORWARD : BACKWARD, 1L, NUL, FALSE))
31 pos_copy = curwin->w_cursor;
34 curwin->w_cursor = pos;
35 + listcmd_busy = slcb;
37 else if (c == '(' || c == ')') /* to previous/next sentence */
40 + int slcb = listcmd_busy;
42 pos = curwin->w_cursor;
43 + listcmd_busy = TRUE; /* avoid that '' is changed */
44 if (findsent(c == ')' ? FORWARD : BACKWARD, 1L))
46 pos_copy = curwin->w_cursor;
49 curwin->w_cursor = pos;
50 + listcmd_busy = slcb;
53 else if (c == '<' || c == '>') /* start/end of visual area */
54 *** ../vim-6.2.044/src/version.c Sun Jul 27 14:19:17 2003
55 --- src/version.c Sun Jul 27 14:21:02 2003
59 { /* Add new patch number below this line */
65 Westheimer's Discovery:
66 A couple of months in the laboratory can
67 frequently save a couple of hours in the library.
69 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
70 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
71 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
72 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///