* I am listing all unapplied patches here.
# HG changeset patch
# User ZyX <[email protected]>
# Date 1369975224 -14400
# Branch python-extended-4
# Node ID 0921ff181087b318c2322ab5af06758776a59bd1
# Parent 2eb30f341e8d418c2bbcd476722133db840db167
Add missing documentation
diff -r 2eb30f341e8d -r 0921ff181087 runtime/doc/if_pyth.txt
--- a/runtime/doc/if_pyth.txt Sat Jun 01 14:50:56 2013 +0200
+++ b/runtime/doc/if_pyth.txt Fri May 31 08:40:24 2013 +0400
@@ -176,6 +176,10 @@
|python-bindeval-objects|. These python objects let you modify (|List|
or |Dictionary|) or call (|Funcref|) vim objecs.
+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 @@
|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 @@
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 @@
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.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
*** /tmp/extdiff.nLoPsa/vim.2eb30f341e8d/runtime/doc/if_pyth.txt 2013-06-01 20:10:13.617766187 +0400
--- vim.0921ff181087/runtime/doc/if_pyth.txt 2013-06-01 20:10:13.620766157 +0400
***************
*** 176,181 ****
--- 176,185 ----
|python-bindeval-objects|. These python objects let you modify (|List|
or |Dictionary|) or call (|Funcref|) vim objecs.
+ 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,334 ****
--- 333,340 ----
|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,438 ****
--- 439,446 ----
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,461 ****
--- 464,471 ----
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.