summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-12 19:00:41 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-12 19:00:41 +0200
commit6d21645f463d6b6f73cf8b9baf9afe6675abf189 (patch)
treea6cf551d6b649cfe69f0cde0f0fe234538eee5c2 /runtime
parent971db4679940fd2f06733e8a1513215f9e1943a4 (diff)
downloadvim-git-6d21645f463d6b6f73cf8b9baf9afe6675abf189.tar.gz
updated for version 7.3.938v7.3.938
Problem: Python: not easy to get to window number. Solution: Add vim.window.number. (ZyX)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/if_pyth.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index a6bb55c82..bf21f8cc4 100644
--- a/runtime/doc/if_pyth.txt
+++ b/runtime/doc/if_pyth.txt
@@ -396,6 +396,10 @@ Window attributes are:
|python-options|. If option is |global-local|
and local value is missing getting it will
return None.
+ number (read-only) Window number. The first window has number 1.
+ This is zero in case it cannot be determined
+ (e.g. when the window object belongs to other
+ tab page).
The height attribute is writable only if the screen is split horizontally.
The width attribute is writable only if the screen is split vertically.