Mercurial > vim
diff runtime/doc/if_pyth.txt @ 4431:7d81f4e96728 v7.3.964
updated for version 7.3.964
Problem: Python: not so easy to access tab pages.
Solution: Add window.tabpage, make window.number work with non-current tab
pages. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 May 2013 16:18:33 +0200 |
parents | c16602758d84 |
children | 9b800f0a757f |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -433,8 +433,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. + row, col (read-only) On-screen window position in display cells. First position is zero. + tabpage (read-only) Window 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. @@ -490,7 +491,7 @@ if the `:py3` command is working: > < *:py3file* The |:py3file| command works similar to |:pyfile|. - *:py3do* + *:py3do* *E863* :[range]py3do {body} Execute Python function "def _vim_pydo(line, linenr): {body}" for each line in the [range], with the function arguments being set to the text of each line