4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: With characterwise text that has more than one line, "3P" works
12 wrong. "3p" has the same problem. There also is a display
13 problem. (Daniel Goujot)
14 Solution: Perform characterwise puts with a count in the right position.
18 *** ../vim-6.2.202/src/ops.c Sun Jan 18 20:58:01 2004
19 --- src/ops.c Sat Jan 24 14:17:22 2004
23 curwin->w_cursor.lnum = lnum - 1;
25 curwin->w_cursor.lnum = lnum;
26 + curbuf->b_op_start = curwin->w_cursor; /* for mark_adjust() */
29 else if (u_save_cursor() == FAIL)
33 * First insert y_array[size - 1] in front of second line.
34 * Then append y_array[0] to first line.
36 + lnum = new_cursor.lnum;
37 ptr = ml_get(lnum) + col;
38 totlen = (int)STRLEN(y_array[y_size - 1]);
39 newp = alloc_check((unsigned)(STRLEN(ptr) + totlen + 1));
40 *** ../vim-6.2.202/src/version.c Sun Jan 25 20:16:26 2004
41 --- src/version.c Sun Jan 25 20:18:05 2004
45 { /* Add new patch number below this line */
51 Why is "abbreviation" such a long word?
53 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
54 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
56 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///