]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1097 v7.3.1097
authorBram Moolenaar <Bram@vim.org>
Sun, 2 Jun 2013 15:46:40 +0000 (17:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 2 Jun 2013 15:46:40 +0000 (17:46 +0200)
Problem:    Python: a few recently added items are not documented.
Solution:   Update the documentation. (ZyX)

runtime/doc/if_pyth.txt
src/version.c

index b8073cf5fe174507ea411ba9b77ca6814744e293..d37bd49f4f9fbf83fbd306ca0ca1b00eb5e0b622 100644 (file)
@@ -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.
 
index a9f794d48b680c568a4ab365abd3e5ac94a3bce7..03f14b93f43cc5fb31d0ffa873305765a7f47302 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1097,
 /**/
     1096,
 /**/