diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-02 17:46:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-02 17:46:40 +0200 |
commit | bc41196bdc94f5025a5d0bee2dcbb3c63aef15b8 (patch) | |
tree | 2ba77c6539fb5f3350941ef9a24497143f78ce0f | |
parent | de71b5658f780e1fac29b1ef8b58af3dd42e65ad (diff) | |
download | vim-bc41196bdc94f5025a5d0bee2dcbb3c63aef15b8.zip |
updated for version 7.3.1097
Problem: Python: a few recently added items are not documented.
Solution: Update the documentation. (ZyX)
-rw-r--r-- | runtime/doc/if_pyth.txt | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index b8073cf5f..d37bd49f4 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -176,6 +176,10 @@ vim.bindeval(str) *python-bindeval* |python-bindeval-objects|. These python objects let you modify (|List| or |Dictionary|) or call (|Funcref|) vim objects. +vim.strwidth(str) *python-strwidth* + Like |strwidth()|: returns number of display cells str occupies, tab + is counted as one cell. + Error object of the "vim" module vim.error *python-error* @@ -329,6 +333,8 @@ The buffer object attributes are: |BufFilePost| autocommands are launched. b.number Buffer number. Can be used as |python-buffers| key. Read-only. + b.valid True or False. Buffer object becames invalid when + corresponding buffer is wiped out. The buffer object methods are: b.append(str) Append a line to the buffer @@ -433,6 +439,8 @@ Window attributes are: row, col (read-only) On-screen window position in display cells. First position is zero. tabpage (read-only) Window tab page. + valid (read-write) True or False. Window object becames invalid + when corresponding window is closed. The height attribute is writable only if the screen is split horizontally. The width attribute is writable only if the screen is split vertically. @@ -456,6 +464,8 @@ Tab page attributes are: windows Like |python-windows|, but for current tab page. vars The tab page |t:| variables. window Current tabpage window. + valid True or False. Tab page object becames invalid when + corresponding tab page is closed. TabPage object type is available using "TabPage" attribute of vim module. diff --git a/src/version.c b/src/version.c index a9f794d48..03f14b93f 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1097, +/**/ 1096, /**/ 1095, |