]>
Commit | Line | Data |
---|---|---|
d1b4bd6a ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.409 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.409 | |
11 | Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean | |
12 | Johner) | |
13 | Solution: Reset sub_nsubs and sub_nlines in global_exe(). | |
14 | Files: src/ex_cmds.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.408/src/ex_cmds.c 2010-03-23 17:36:24.000000000 +0100 | |
18 | --- src/ex_cmds.c 2010-03-23 17:42:49.000000000 +0100 | |
19 | *************** | |
20 | *** 5238,5245 **** | |
21 | type = *eap->cmd; | |
22 | cmd = eap->arg; | |
23 | which_pat = RE_LAST; /* default: use last used regexp */ | |
24 | - sub_nsubs = 0; | |
25 | - sub_nlines = 0; | |
26 | ||
27 | /* | |
28 | * undocumented vi feature: | |
29 | --- 5238,5243 ---- | |
30 | *************** | |
31 | *** 5343,5348 **** | |
32 | --- 5341,5348 ---- | |
33 | /* When the command writes a message, don't overwrite the command. */ | |
34 | msg_didout = TRUE; | |
35 | ||
36 | + sub_nsubs = 0; | |
37 | + sub_nlines = 0; | |
38 | global_need_beginline = FALSE; | |
39 | global_busy = 1; | |
40 | old_lcount = curbuf->b_ml.ml_line_count; | |
41 | *** ../vim-7.2.408/src/version.c 2010-03-23 17:36:24.000000000 +0100 | |
42 | --- src/version.c 2010-03-23 17:47:53.000000000 +0100 | |
43 | *************** | |
44 | *** 683,684 **** | |
45 | --- 683,686 ---- | |
46 | { /* Add new patch number below this line */ | |
47 | + /**/ | |
48 | + 409, | |
49 | /**/ | |
50 | ||
51 | -- | |
52 | BRIDGEKEEPER: What is your favorite colour? | |
53 | LAUNCELOT: Blue. | |
54 | BRIDGEKEEPER: Right. Off you go. | |
55 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
56 | ||
57 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
58 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
59 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
60 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |