]>
Commit | Line | Data |
---|---|---|
f8d0d5dd AF |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.213 | |
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.213 (after 6.2.208) | |
11 | Problem: Using marker folding, "{{{1" doesn't start a new fold when already | |
12 | at fold level 1. (Servatius Brandt) | |
13 | Solution: Correctly compute the number of folds that start at "{{{1". | |
14 | Files: src/fold.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.212/src/fold.c Sun Jan 25 20:33:47 2004 | |
18 | --- src/fold.c Mon Jan 26 16:08:12 2004 | |
19 | *************** | |
20 | *** 3005,3012 **** | |
21 | { | |
22 | flp->lvl = n; | |
23 | flp->lvl_next = n; | |
24 | ! if (n < start_lvl) | |
25 | ! flp->start = 0; | |
26 | else | |
27 | flp->start = n - start_lvl; | |
28 | } | |
29 | --- 3005,3012 ---- | |
30 | { | |
31 | flp->lvl = n; | |
32 | flp->lvl_next = n; | |
33 | ! if (n <= start_lvl) | |
34 | ! flp->start = 1; | |
35 | else | |
36 | flp->start = n - start_lvl; | |
37 | } | |
38 | *** ../vim-6.2.212/src/version.c Tue Jan 27 17:09:16 2004 | |
39 | --- src/version.c Tue Jan 27 17:54:13 2004 | |
40 | *************** | |
41 | *** 639,640 **** | |
42 | --- 639,642 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 213, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | OLD WOMAN: Well, how did you become king, then? | |
50 | ARTHUR: The Lady of the Lake, her arm clad in the purest shimmering samite, | |
51 | held Excalibur aloft from the bosom of the water to signify by Divine | |
52 | Providence ... that I, Arthur, was to carry Excalibur ... That is | |
53 | why I am your king! | |
54 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
55 | ||
56 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
57 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
58 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
59 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |