summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-08-30 10:26:19 +0000
committerBram Moolenaar <Bram@vim.org>2007-08-30 10:26:19 +0000
commit78e1762c4888f5faf3920f01bcc94d8c1b8adb3a (patch)
tree155463ad46bcc256f96a9c8a839ff287868eff51 /runtime
parent1a3d086c84dad1f52b623cda1bfe36d88d8cfd9a (diff)
downloadvim-git-78e1762c4888f5faf3920f01bcc94d8c1b8adb3a.tar.gz
updated for version 7.1-091v7.1.091
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/gui_w32.txt12
-rw-r--r--runtime/doc/starting.txt7
-rw-r--r--runtime/doc/vi_diff.txt4
3 files changed, 20 insertions, 3 deletions
diff --git a/runtime/doc/gui_w32.txt b/runtime/doc/gui_w32.txt
index b92a69321..17ed69a60 100644
--- a/runtime/doc/gui_w32.txt
+++ b/runtime/doc/gui_w32.txt
@@ -1,4 +1,4 @@
-*gui_w32.txt* For Vim version 7.1. Last change: 2007 May 03
+*gui_w32.txt* For Vim version 7.1. Last change: 2007 Aug 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -53,6 +53,16 @@ vimrc or gvimrc file: >
There is a specific version of gvim.exe that runs under the Win32s subsystem
of Windows 3.1 or 3.11. See |win32s|.
+
+Using Vim as a plugin *gui-w32-windowid*
+
+When gvim starts up normally, it creates its own top level window. If you
+pass Vim the command-line option |--windowid| with a decimal or hexadecimal
+value, Vim will create a window that is a child of the window with the given
+ID. This enables Vim to act as a plugin in another application. This really
+is a programmer's interface, and is of no use without a supporting application
+to spawn Vim correctly.
+
==============================================================================
2. Vim as default editor *vim-default-editor*
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 7de79ce41..b58dade4a 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.1. Last change: 2007 May 12
+*starting.txt* For Vim version 7.1. Last change: 2007 Aug 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -548,6 +548,11 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
that it runs inside another window. See |gui-gtk-socketid|
for details. {not in Vi}
+--windowid {id} *--windowid*
+ Win32 GUI Vim only. Make gvim try to use the window {id} as a
+ parent, so that it runs inside that window. See
+ |gui-w32-windowid| for details. {not in Vi}
+
--echo-wid *--echo-wid*
GTK+ GUI Vim only. Make gvim echo the Window ID on stdout,
which can be used to run gvim in a kpart widget. The format
diff --git a/runtime/doc/vi_diff.txt b/runtime/doc/vi_diff.txt
index 854c8baf5..93ba2f528 100644
--- a/runtime/doc/vi_diff.txt
+++ b/runtime/doc/vi_diff.txt
@@ -1,4 +1,4 @@
-*vi_diff.txt* For Vim version 7.1. Last change: 2007 May 07
+*vi_diff.txt* For Vim version 7.1. Last change: 2007 Aug 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -827,6 +827,8 @@ Only Vim is able to accept options in between and after the file names.
--socketid {id} Vim: GTK window socket to run Vim in
+--windowid {id} Vim: Win32 window ID to run Vim in
+
--version Vim: show version message and exit.
-? Vile: print usage summary and exit.