]>
Commit | Line | Data |
---|---|---|
7ca5039e AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.349 | |
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.349 | |
11 | Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split" | |
12 | and "gf". (Tony Mechelynck) | |
13 | Solution: Store the tab number in cmdmod.tab. | |
14 | Files: src/window.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.348/src/window.c 2009-06-24 17:31:27.000000000 +0200 | |
18 | --- src/window.c 2010-01-27 20:23:22.000000000 +0100 | |
19 | *************** | |
20 | *** 626,632 **** | |
21 | #ifdef FEAT_SEARCHPATH | |
22 | case 'f': /* CTRL-W gf: "gf" in a new tab page */ | |
23 | case 'F': /* CTRL-W gF: "gF" in a new tab page */ | |
24 | ! cmdmod.tab = TRUE; | |
25 | nchar = xchar; | |
26 | goto wingotofile; | |
27 | #endif | |
28 | --- 626,632 ---- | |
29 | #ifdef FEAT_SEARCHPATH | |
30 | case 'f': /* CTRL-W gf: "gf" in a new tab page */ | |
31 | case 'F': /* CTRL-W gF: "gF" in a new tab page */ | |
32 | ! cmdmod.tab = tabpage_index(curtab) + 1; | |
33 | nchar = xchar; | |
34 | goto wingotofile; | |
35 | #endif | |
36 | *** ../vim-7.2.348/src/version.c 2010-01-27 18:29:21.000000000 +0100 | |
37 | --- src/version.c 2010-01-27 20:25:43.000000000 +0100 | |
38 | *************** | |
39 | *** 683,684 **** | |
40 | --- 683,686 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 349, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | hundred-and-one symptoms of being an internet addict: | |
48 | 159. You get excited whenever discussing your hard drive. | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |