]>
Commit | Line | Data |
---|---|---|
c9e2e521 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.036 | |
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.3.036 | |
11 | Problem: ml_get errors when the whole file is a fold, switching | |
12 | 'foldmethod' and doing "zj". (Christian J. Robinson) Was not | |
13 | deleting the fold but creating a fold with zero lines. | |
14 | Solution: Delete the fold properly. | |
15 | Files: src/fold.c | |
16 | ||
17 | ||
18 | *** ../vim-6.3.035/src/fold.c Wed Jun 9 14:56:26 2004 | |
19 | --- src/fold.c Sat Dec 4 14:54:30 2004 | |
20 | *************** | |
21 | *** 2795,2801 **** | |
22 | { | |
23 | /* Found an entry below top. */ | |
24 | fold_changed = TRUE; | |
25 | ! if (fp->fd_top + fp->fd_len > bot) | |
26 | { | |
27 | /* 5: Make fold that includes bot start below bot. */ | |
28 | foldMarkAdjustRecurse(&fp->fd_nested, | |
29 | --- 2795,2801 ---- | |
30 | { | |
31 | /* Found an entry below top. */ | |
32 | fold_changed = TRUE; | |
33 | ! if (fp->fd_top + fp->fd_len - 1 > bot) | |
34 | { | |
35 | /* 5: Make fold that includes bot start below bot. */ | |
36 | foldMarkAdjustRecurse(&fp->fd_nested, | |
37 | *** ../vim-6.3.035/src/version.c Mon Nov 22 10:44:14 2004 | |
38 | --- src/version.c Sat Dec 4 14:55:28 2004 | |
39 | *************** | |
40 | *** 643,644 **** | |
41 | --- 643,646 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 36, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | If you had to identify, in one word, the reason why the | |
49 | human race has not achieved, and never will achieve, its | |
50 | full potential, that word would be "meetings." | |
51 | ||
52 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
53 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
54 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
55 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |