|
Karsten Hopp |
6c6331 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
6c6331 |
Subject: Patch 7.4.449
|
|
Karsten Hopp |
6c6331 |
Fcc: outbox
|
|
Karsten Hopp |
6c6331 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6c6331 |
Mime-Version: 1.0
|
|
Karsten Hopp |
6c6331 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
6c6331 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6c6331 |
------------
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
Patch 7.4.449
|
|
Karsten Hopp |
6c6331 |
Problem: Can't easily close the help window. (Chris Gaal)
|
|
Karsten Hopp |
6c6331 |
Solution: Add ":helpclose". (Christian Brabandt)
|
|
Karsten Hopp |
6c6331 |
Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c,
|
|
Karsten Hopp |
6c6331 |
src/ex_cmds.h, src/proto/ex_cmds.pro
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/runtime/doc/helphelp.txt 2013-08-10 13:24:54.000000000 +0200
|
|
Karsten Hopp |
6c6331 |
--- runtime/doc/helphelp.txt 2014-09-19 19:38:11.110445851 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 96,101 ****
|
|
Karsten Hopp |
6c6331 |
--- 96,104 ----
|
|
Karsten Hopp |
6c6331 |
find a tag in a file with the same language as the
|
|
Karsten Hopp |
6c6331 |
current file. See |help-translated|.
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
+ *:helpc* *:helpclose*
|
|
Karsten Hopp |
6c6331 |
+ :helpc[lose] Close one help window.
|
|
Karsten Hopp |
6c6331 |
+
|
|
Karsten Hopp |
6c6331 |
*:helpg* *:helpgrep*
|
|
Karsten Hopp |
6c6331 |
:helpg[rep] {pattern}[@xx]
|
|
Karsten Hopp |
6c6331 |
Search all help text files and make a list of lines
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/runtime/doc/index.txt 2013-08-10 13:24:56.000000000 +0200
|
|
Karsten Hopp |
6c6331 |
--- runtime/doc/index.txt 2014-09-19 19:38:23.694445878 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 1244,1249 ****
|
|
Karsten Hopp |
6c6331 |
--- 1244,1250 ----
|
|
Karsten Hopp |
6c6331 |
|:gvim| :gv[im] start the GUI
|
|
Karsten Hopp |
6c6331 |
|:hardcopy| :ha[rdcopy] send text to the printer
|
|
Karsten Hopp |
6c6331 |
|:help| :h[elp] open a help window
|
|
Karsten Hopp |
6c6331 |
+ |:helpclose| :helpc[lose] close one help window
|
|
Karsten Hopp |
6c6331 |
|:helpfind| :helpf[ind] dialog to open a help window
|
|
Karsten Hopp |
6c6331 |
|:helpgrep| :helpg[rep] like ":grep" but searches help files
|
|
Karsten Hopp |
6c6331 |
|:helptags| :helpt[ags] generate help tags for a directory
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/src/ex_cmds.c 2014-08-29 09:02:23.886399246 +0200
|
|
Karsten Hopp |
6c6331 |
--- src/ex_cmds.c 2014-09-19 19:33:43.350445266 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 5899,5904 ****
|
|
Karsten Hopp |
6c6331 |
--- 5899,5922 ----
|
|
Karsten Hopp |
6c6331 |
vim_free(tag);
|
|
Karsten Hopp |
6c6331 |
}
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
+ /*
|
|
Karsten Hopp |
6c6331 |
+ * ":helpclose": Close the help window
|
|
Karsten Hopp |
6c6331 |
+ */
|
|
Karsten Hopp |
6c6331 |
+ void
|
|
Karsten Hopp |
6c6331 |
+ ex_helpclose(eap)
|
|
Karsten Hopp |
6c6331 |
+ exarg_T *eap UNUSED;
|
|
Karsten Hopp |
6c6331 |
+ {
|
|
Karsten Hopp |
6c6331 |
+ win_T *win;
|
|
Karsten Hopp |
6c6331 |
+
|
|
Karsten Hopp |
6c6331 |
+ FOR_ALL_WINDOWS(win)
|
|
Karsten Hopp |
6c6331 |
+ {
|
|
Karsten Hopp |
6c6331 |
+ if (win->w_buffer->b_help)
|
|
Karsten Hopp |
6c6331 |
+ {
|
|
Karsten Hopp |
6c6331 |
+ win_close(win, FALSE);
|
|
Karsten Hopp |
6c6331 |
+ break;
|
|
Karsten Hopp |
6c6331 |
+ }
|
|
Karsten Hopp |
6c6331 |
+ }
|
|
Karsten Hopp |
6c6331 |
+ }
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
#if defined(FEAT_MULTI_LANG) || defined(PROTO)
|
|
Karsten Hopp |
6c6331 |
/*
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/src/ex_cmds.h 2014-03-23 16:03:56.163311626 +0100
|
|
Karsten Hopp |
6c6331 |
--- src/ex_cmds.h 2014-09-19 19:21:09.134443618 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 417,422 ****
|
|
Karsten Hopp |
6c6331 |
--- 417,424 ----
|
|
Karsten Hopp |
6c6331 |
BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN),
|
|
Karsten Hopp |
6c6331 |
EX(CMD_help, "help", ex_help,
|
|
Karsten Hopp |
6c6331 |
BANG|EXTRA|NOTRLCOM),
|
|
Karsten Hopp |
6c6331 |
+ EX(CMD_helpclose, "helpclose", ex_helpclose,
|
|
Karsten Hopp |
6c6331 |
+ RANGE|NOTADR|COUNT|TRLBAR),
|
|
Karsten Hopp |
6c6331 |
EX(CMD_helpfind, "helpfind", ex_helpfind,
|
|
Karsten Hopp |
6c6331 |
EXTRA|NOTRLCOM),
|
|
Karsten Hopp |
6c6331 |
EX(CMD_helpgrep, "helpgrep", ex_helpgrep,
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/src/proto/ex_cmds.pro 2013-08-10 13:37:09.000000000 +0200
|
|
Karsten Hopp |
6c6331 |
--- src/proto/ex_cmds.pro 2014-09-19 19:21:09.134443618 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 44,49 ****
|
|
Karsten Hopp |
6c6331 |
--- 44,50 ----
|
|
Karsten Hopp |
6c6331 |
void free_old_sub __ARGS((void));
|
|
Karsten Hopp |
6c6331 |
int prepare_tagpreview __ARGS((int undo_sync));
|
|
Karsten Hopp |
6c6331 |
void ex_help __ARGS((exarg_T *eap));
|
|
Karsten Hopp |
6c6331 |
+ void ex_helpclose __ARGS((exarg_T *eap));
|
|
Karsten Hopp |
6c6331 |
char_u *check_help_lang __ARGS((char_u *arg));
|
|
Karsten Hopp |
6c6331 |
int help_heuristic __ARGS((char_u *matched_string, int offset, int wrong_case));
|
|
Karsten Hopp |
6c6331 |
int find_help_tags __ARGS((char_u *arg, int *num_matches, char_u ***matches, int keep_lang));
|
|
Karsten Hopp |
6c6331 |
*** ../vim-7.4.448/src/version.c 2014-09-19 16:13:48.358419065 +0200
|
|
Karsten Hopp |
6c6331 |
--- src/version.c 2014-09-19 18:06:13.718433799 +0200
|
|
Karsten Hopp |
6c6331 |
***************
|
|
Karsten Hopp |
6c6331 |
*** 743,744 ****
|
|
Karsten Hopp |
6c6331 |
--- 743,746 ----
|
|
Karsten Hopp |
6c6331 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6c6331 |
+ /**/
|
|
Karsten Hopp |
6c6331 |
+ 449,
|
|
Karsten Hopp |
6c6331 |
/**/
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
--
|
|
Karsten Hopp |
6c6331 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
6c6331 |
165. You have a web page burned into your glasses
|
|
Karsten Hopp |
6c6331 |
|
|
Karsten Hopp |
6c6331 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6c6331 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6c6331 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
6c6331 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|