summaryrefslogtreecommitdiff
path: root/runtime/doc/if_pyth.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-17 16:18:33 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-17 16:18:33 +0200
commitcabf80ff2f20ff6e7da237daf8c2a0cc358592eb (patch)
tree55c18c253da96281fc7a8612e349094facb300b8 /runtime/doc/if_pyth.txt
parent105bc355a6713b5c09b52776bf8f92a15a81f49c (diff)
downloadvim-cabf80ff2f20ff6e7da237daf8c2a0cc358592eb.zip
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)
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r--runtime/doc/if_pyth.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt
index c56036744..051dfacaf 100644
--- 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