Mercurial > vim
changeset 2616:73d947c20291 v7.3.038
updated for version 7.3.038
Problem: v:windowid isn't set on MS-Windows.
Solution: Set it to the window handle. (Chris Sutcliffe)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 27 Oct 2010 12:33:17 +0200 |
parents | c6fe65c000d2 |
children | f2927225367a |
files | runtime/doc/eval.txt src/gui_w32.c src/version.c |
diffstat | 3 files changed, 12 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1660,7 +1660,11 @@ v:warningmsg Last given warning message. *v:windowid* *windowid-variable* v:windowid When any X11 based GUI is running or when running in a terminal and Vim connects to the X server (|-X|) this will be - set to the window ID. Otherwise the value is zero. + set to the window ID. + When an MS-Windows GUI is running this will be set to the + window handle. + Otherwise the value is zero. + Note: for windows inside Vim use |winnr()|. ============================================================================== 4. Builtin Functions *functions*