4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: A bogus fold is created when using "P" while the cursor is in the
12 middle of a closed fold. (Kamil Burzynski)
13 Solution: Correct the line number where marks are modified for closed folds.
17 *** ../vim-6.2.208/src/ops.c Sun Jan 25 20:19:00 2004
18 --- src/ops.c Sat Jan 24 14:17:22 2004
22 curbuf->b_op_start.col = 0;
26 - /* a "p" inside a closed fold is like a "p" in the last
27 - * line of the fold */
28 - (void)hasFolding(curbuf->b_op_start.lnum, NULL,
29 - &curbuf->b_op_start.lnum);
31 curbuf->b_op_start.lnum++;
34 mark_adjust(curbuf->b_op_start.lnum + (y_type == MCHAR),
35 (linenr_T)MAXLNUM, nr_lines, 0L);
37 *** ../vim-6.2.208/src/version.c Sun Jan 25 20:33:47 2004
38 --- src/version.c Sun Jan 25 20:36:05 2004
42 { /* Add new patch number below this line */
48 TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
49 SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
51 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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 ///