]>
Commit | Line | Data |
---|---|---|
d02ad552 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.209 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.209 | |
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. | |
14 | Files: src/ops.c | |
15 | ||
16 | ||
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 | |
19 | *************** | |
20 | *** 3506,3520 **** | |
21 | { | |
22 | curbuf->b_op_start.col = 0; | |
23 | if (dir == FORWARD) | |
24 | - { | |
25 | - #ifdef FEAT_FOLDING | |
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); | |
30 | - #endif | |
31 | curbuf->b_op_start.lnum++; | |
32 | - } | |
33 | } | |
34 | mark_adjust(curbuf->b_op_start.lnum + (y_type == MCHAR), | |
35 | (linenr_T)MAXLNUM, nr_lines, 0L); | |
36 | --- 3506,3512 ---- | |
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 | |
39 | *************** | |
40 | *** 639,640 **** | |
41 | --- 639,642 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 209, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT | |
49 | SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE | |
50 | KILLED BY THE RABBIT) | |
51 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
52 | ||
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 /// |