Mercurial > vim
diff runtime/doc/if_pyth.txt @ 4383:e2db42528a5b v7.3.940
updated for version 7.3.940
Problem: Python: Can't get position of window.
Solution: Add window.row and window.col. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 May 2013 19:30:31 +0200 |
parents | a2f03b41dca7 |
children | 80eea7a9d6b9 |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -400,6 +400,9 @@ Window attributes are: This is zero in case it cannot be determined (e.g. when the window object belongs to other tab page). + row, col (read-only) On-screen window position in display cells. + First position is zero. + The height attribute is writable only if the screen is split horizontally. The width attribute is writable only if the screen is split vertically.