Mercurial > vim
diff runtime/doc/if_pyth.txt @ 4379:a2f03b41dca7 v7.3.938
updated for version 7.3.938
Problem: Python: not easy to get to window number.
Solution: Add vim.window.number. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 May 2013 19:00:41 +0200 |
parents | cf1d93a3914a |
children | e2db42528a5b |
line wrap: on
line diff
--- 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.