6c6331 - patchlevel 449

Authored and Committed by Karsten Hopp 10 years ago
1 file changed. 114 lines added. 0 lines removed.
    - patchlevel 449
    
        
file added
+114
7.4.449 ADDED
@@ -0,0 +1,114 @@
1
+ To: vim_dev@googlegroups.com
2
+ Subject: Patch 7.4.449
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.4.449
11
+ Problem: Can't easily close the help window. (Chris Gaal)
12
+ Solution: Add ":helpclose". (Christian Brabandt)
13
+ Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c,
14
+ src/ex_cmds.h, src/proto/ex_cmds.pro
15
+
16
+
17
+ *** ../vim-7.4.448/runtime/doc/helphelp.txt 2013-08-10 13:24:54.000000000 +0200
18
+ --- runtime/doc/helphelp.txt 2014-09-19 19:38:11.110445851 +0200
19
+ ***************
20
+ *** 96,101 ****
21
+ --- 96,104 ----
22
+ find a tag in a file with the same language as the
23
+ current file. See |help-translated|.
24
+
25
+ + *:helpc* *:helpclose*
26
+ + :helpc[lose] Close one help window.
27
+ +
28
+ *:helpg* *:helpgrep*
29
+ :helpg[rep] {pattern}[@xx]
30
+ Search all help text files and make a list of lines
31
+ *** ../vim-7.4.448/runtime/doc/index.txt 2013-08-10 13:24:56.000000000 +0200
32
+ --- runtime/doc/index.txt 2014-09-19 19:38:23.694445878 +0200
33
+ ***************
34
+ *** 1244,1249 ****
35
+ --- 1244,1250 ----
36
+ |:gvim| :gv[im] start the GUI
37
+ |:hardcopy| :ha[rdcopy] send text to the printer
38
+ |:help| :h[elp] open a help window
39
+ + |:helpclose| :helpc[lose] close one help window
40
+ |:helpfind| :helpf[ind] dialog to open a help window
41
+ |:helpgrep| :helpg[rep] like ":grep" but searches help files
42
+ |:helptags| :helpt[ags] generate help tags for a directory
43
+ *** ../vim-7.4.448/src/ex_cmds.c 2014-08-29 09:02:23.886399246 +0200
44
+ --- src/ex_cmds.c 2014-09-19 19:33:43.350445266 +0200
45
+ ***************
46
+ *** 5899,5904 ****
47
+ --- 5899,5922 ----
48
+ vim_free(tag);
49
+ }
50
+
51
+ + /*
52
+ + * ":helpclose": Close the help window
53
+ + */
54
+ + void
55
+ + ex_helpclose(eap)
56
+ + exarg_T *eap UNUSED;
57
+ + {
58
+ + win_T *win;
59
+ +
60
+ + FOR_ALL_WINDOWS(win)
61
+ + {
62
+ + if (win->w_buffer->b_help)
63
+ + {
64
+ + win_close(win, FALSE);
65
+ + break;
66
+ + }
67
+ + }
68
+ + }
69
+
70
+ #if defined(FEAT_MULTI_LANG) || defined(PROTO)
71
+ /*
72
+ *** ../vim-7.4.448/src/ex_cmds.h 2014-03-23 16:03:56.163311626 +0100
73
+ --- src/ex_cmds.h 2014-09-19 19:21:09.134443618 +0200
74
+ ***************
75
+ *** 417,422 ****
76
+ --- 417,424 ----
77
+ BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN),
78
+ EX(CMD_help, "help", ex_help,
79
+ BANG|EXTRA|NOTRLCOM),
80
+ + EX(CMD_helpclose, "helpclose", ex_helpclose,
81
+ + RANGE|NOTADR|COUNT|TRLBAR),
82
+ EX(CMD_helpfind, "helpfind", ex_helpfind,
83
+ EXTRA|NOTRLCOM),
84
+ EX(CMD_helpgrep, "helpgrep", ex_helpgrep,
85
+ *** ../vim-7.4.448/src/proto/ex_cmds.pro 2013-08-10 13:37:09.000000000 +0200
86
+ --- src/proto/ex_cmds.pro 2014-09-19 19:21:09.134443618 +0200
87
+ ***************
88
+ *** 44,49 ****
89
+ --- 44,50 ----
90
+ void free_old_sub __ARGS((void));
91
+ int prepare_tagpreview __ARGS((int undo_sync));
92
+ void ex_help __ARGS((exarg_T *eap));
93
+ + void ex_helpclose __ARGS((exarg_T *eap));
94
+ char_u *check_help_lang __ARGS((char_u *arg));
95
+ int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case));
96
+ int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang));
97
+ *** ../vim-7.4.448/src/version.c 2014-09-19 16:13:48.358419065 +0200
98
+ --- src/version.c 2014-09-19 18:06:13.718433799 +0200
99
+ ***************
100
+ *** 743,744 ****
101
+ --- 743,746 ----
102
+ { /* Add new patch number below this line */
103
+ + /**/
104
+ + 449,
105
+ /**/
106
+
107
+ --
108
+ hundred-and-one symptoms of being an internet addict:
109
+ 165. You have a web page burned into your glasses
110
+
111
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
112
+ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
113
+ \\\ an exciting new programming language -- http://www.Zimbu.org ///
114
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///