1
0
forked from aniani/vim

updated for version 7.3.938

Problem:    Python: not easy to get to window number.
Solution:   Add vim.window.number. (ZyX)
This commit is contained in:
Bram Moolenaar
2013-05-12 19:00:41 +02:00
parent 971db46799
commit 6d21645f46
5 changed files with 30 additions and 8 deletions

View File

@@ -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.