]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.216
- updated to 0.7.3
[packages/vim.git] / 7.0.216
CommitLineData
9b1d76b7
AG
1To: vim-dev@vim.org
2Subject: patch 7.0.216
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.216
11Problem: ":tab wincmd ]" does not open a tab page. (Tony Mechelynck)
12Solution: Copy the cmdmod.tab value to postponed_split_tab and use it.
13Files: src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c
14
15
16*** ../vim-7.0.215/src/globals.h Wed Feb 7 03:42:37 2007
17--- src/globals.h Sun Mar 11 15:27:12 2007
18***************
19*** 1030,1035 ****
20--- 1030,1036 ----
21 #ifdef FEAT_WINDOWS
22 EXTERN int postponed_split INIT(= 0); /* for CTRL-W CTRL-] command */
23 EXTERN int postponed_split_flags INIT(= 0); /* args for win_split() */
24+ EXTERN int postponed_split_tab INIT(= 0); /* cmdmod.tab */
25 # ifdef FEAT_QUICKFIX
26 EXTERN int g_do_tagpreview INIT(= 0); /* for tag preview commands:
27 height of preview window */
28*** ../vim-7.0.215/src/ex_docmd.c Thu Mar 8 18:16:54 2007
29--- src/ex_docmd.c Sun Mar 11 15:29:06 2007
30***************
31*** 7980,7987 ****
32--- 7980,7989 ----
33 {
34 /* Pass flags on for ":vertical wincmd ]". */
35 postponed_split_flags = cmdmod.split;
36+ postponed_split_tab = cmdmod.tab;
37 do_window(*eap->arg, eap->addr_count > 0 ? eap->line2 : 0L, xchar);
38 postponed_split_flags = 0;
39+ postponed_split_tab = 0;
40 }
41 }
42 #endif
43***************
44*** 9189,9196 ****
45--- 9191,9200 ----
46 {
47 postponed_split = -1;
48 postponed_split_flags = cmdmod.split;
49+ postponed_split_tab = cmdmod.tab;
50 ex_tag_cmd(eap, cmdnames[eap->cmdidx].cmd_name + 1);
51 postponed_split_flags = 0;
52+ postponed_split_tab = 0;
53 }
54 #endif
55
56*** ../vim-7.0.215/src/if_cscope.c Tue Feb 27 18:11:55 2007
57--- src/if_cscope.c Sun Mar 11 15:29:57 2007
58***************
59*** 128,133 ****
60--- 128,134 ----
61 }
62 postponed_split = -1;
63 postponed_split_flags = cmdmod.split;
64+ postponed_split_tab = cmdmod.tab;
65 }
66 #endif
67
68***************
69*** 135,140 ****
70--- 136,142 ----
71
72 #ifdef FEAT_WINDOWS
73 postponed_split_flags = 0;
74+ postponed_split_tab = 0;
75 #endif
76 }
77
78*** ../vim-7.0.215/src/window.c Tue Feb 20 00:17:01 2007
79--- src/window.c Sun Mar 11 15:31:57 2007
80***************
81*** 3290,3300 ****
82 int
83 may_open_tabpage()
84 {
85! int n = cmdmod.tab;
86
87! if (cmdmod.tab != 0)
88 {
89 cmdmod.tab = 0; /* reset it to avoid doing it twice */
90 return win_new_tabpage(n);
91 }
92 return FAIL;
93--- 3290,3301 ----
94 int
95 may_open_tabpage()
96 {
97! int n = (cmdmod.tab == 0) ? postponed_split_tab : cmdmod.tab;
98
99! if (n != 0)
100 {
101 cmdmod.tab = 0; /* reset it to avoid doing it twice */
102+ postponed_split_tab = 0;
103 return win_new_tabpage(n);
104 }
105 return FAIL;
106*** ../vim-7.0.215/src/version.c Thu Mar 8 20:39:02 2007
107--- src/version.c Sun Mar 11 15:50:04 2007
108***************
109*** 668,669 ****
110--- 668,671 ----
111 { /* Add new patch number below this line */
112+ /**/
113+ 216,
114 /**/
115
116--
117You were lucky to have a LAKE! There were a hundred and sixty of
118us living in a small shoebox in the middle of the road.
119
120 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
121/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
122\\\ download, build and distribute -- http://www.A-A-P.org ///
123 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.137689 seconds and 4 git commands to generate.