]>
Commit | Line | Data |
---|---|---|
05618db8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.057 | |
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.057 | |
11 | Problem: When filtering lines folds are not updated. (Carl Osterwisch) | |
12 | Solution: Update folds for filtered lines. | |
13 | Files: src/ex_cmds.c | |
14 | ||
15 | ||
16 | *** ../vim-6.3.056/src/ex_cmds.c Tue Jul 6 14:57:26 2004 | |
17 | --- src/ex_cmds.c Thu Jan 13 17:38:23 2005 | |
18 | *************** | |
19 | *** 905,910 **** | |
20 | --- 905,913 ---- | |
21 | curbuf->b_op_end.lnum -= linecount; /* adjust '] */ | |
22 | write_lnum_adjust(-linecount); /* adjust last line | |
23 | for next write */ | |
24 | + #ifdef FEAT_FOLDING | |
25 | + foldUpdate(curwin, curbuf->b_op_start.lnum, curbuf->b_op_end.lnum); | |
26 | + #endif | |
27 | } | |
28 | else | |
29 | { | |
30 | *** ../vim-6.3.056/src/version.c Thu Jan 13 16:25:02 2005 | |
31 | --- src/version.c Thu Jan 13 17:36:11 2005 | |
32 | *************** | |
33 | *** 643,644 **** | |
34 | --- 643,646 ---- | |
35 | { /* Add new patch number below this line */ | |
36 | + /**/ | |
37 | + 57, | |
38 | /**/ | |
39 | ||
40 | -- | |
41 | WOMAN: I didn't know we had a king. I thought we were an autonomous | |
42 | collective. | |
43 | DENNIS: You're fooling yourself. We're living in a dictatorship. A | |
44 | self-perpetuating autocracy in which the working classes-- | |
45 | WOMAN: Oh there you go, bringing class into it again. | |
46 | DENNIS: That's what it's all about if only people would-- | |
47 | The Quest for the Holy Grail (Monty Python) | |
48 | ||
49 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
50 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
51 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
52 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |