]>
Commit | Line | Data |
---|---|---|
d02ad552 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.204 | |
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.204 (after 6.2.086) | |
11 | Problem: "]]" in a file with closed folds moves to the end of the file. | |
12 | (Nam SungHyun) | |
13 | Solution: Find one position in each closed fold, then move to after the fold. | |
14 | Files: src/search.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.203/src/search.c Sun Jan 18 21:27:18 2004 | |
18 | --- src/search.c Mon Jan 19 12:37:55 2004 | |
19 | *************** | |
20 | *** 2375,2381 **** | |
21 | #ifdef FEAT_FOLDING | |
22 | /* skip folded lines */ | |
23 | fold_skipped = FALSE; | |
24 | ! while (hasFolding(curr, &fold_first, &fold_last)) | |
25 | { | |
26 | curr = ((dir > 0) ? fold_last : fold_first) + dir; | |
27 | fold_skipped = TRUE; | |
28 | --- 2375,2381 ---- | |
29 | #ifdef FEAT_FOLDING | |
30 | /* skip folded lines */ | |
31 | fold_skipped = FALSE; | |
32 | ! if (first && hasFolding(curr, &fold_first, &fold_last)) | |
33 | { | |
34 | curr = ((dir > 0) ? fold_last : fold_first) + dir; | |
35 | fold_skipped = TRUE; | |
36 | *** ../vim-6.2.203/src/version.c Sun Jan 25 20:19:00 2004 | |
37 | --- src/version.c Sun Jan 25 20:20:41 2004 | |
38 | *************** | |
39 | *** 639,640 **** | |
40 | --- 639,642 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 204, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | ARTHUR: CHARGE! | |
48 | [The mighty ARMY charges. Thundering noise of feet. Clatter of coconuts. | |
49 | Shouts etc. Suddenly there is a wail of a siren and a couple of police | |
50 | cars roar round in front of the charging ARMY and the POLICE leap out and | |
51 | stop them. TWO POLICEMAN and the HISTORIAN'S WIFE. Black Marias skid up | |
52 | behind them.] | |
53 | HISTORIAN'S WIFE: They're the ones, I'm sure. | |
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 /// |