]>
Commit | Line | Data |
---|---|---|
d57b4abe ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.228 | |
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 7.1.228 | |
11 | Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it | |
12 | can't be closed with "zc". (Daniel Shahaf) | |
13 | Solution: Reset the "small" flag of a fold when adding a line to it. | |
14 | Files: src/fold.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.227/src/fold.c Sun Oct 14 15:32:10 2007 | |
18 | --- src/fold.c Sun Jan 13 21:26:48 2008 | |
19 | *************** | |
20 | *** 2676,2681 **** | |
21 | --- 2676,2682 ---- | |
22 | if (fp->fd_len < flp->lnum - fp->fd_top) | |
23 | { | |
24 | fp->fd_len = flp->lnum - fp->fd_top; | |
25 | + fp->fd_small = MAYBE; | |
26 | fold_changed = TRUE; | |
27 | } | |
28 | ||
29 | *** ../vim-7.1.227/src/version.c Sun Jan 13 17:39:29 2008 | |
30 | --- src/version.c Sun Jan 13 21:56:53 2008 | |
31 | *************** | |
32 | *** 668,669 **** | |
33 | --- 668,671 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 228, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | VOICE OVER: As the horrendous Black Beast lunged forward, escape for Arthur | |
41 | and his knights seemed hopeless, when, suddenly ... the animator | |
42 | suffered a fatal heart attack. | |
43 | ANIMATOR: Aaaaagh! | |
44 | VOICE OVER: The cartoon peril was no more ... The Quest for Holy Grail could | |
45 | continue. | |
46 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |