|
Karsten Hopp |
d47477 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d47477 |
Subject: Patch 7.3.1097
|
|
Karsten Hopp |
d47477 |
Fcc: outbox
|
|
Karsten Hopp |
d47477 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d47477 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d47477 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d47477 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d47477 |
------------
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
Patch 7.3.1097
|
|
Karsten Hopp |
d47477 |
Problem: Python: a few recently added items are not documented.
|
|
Karsten Hopp |
d47477 |
Solution: Update the documentation. (ZyX)
|
|
Karsten Hopp |
d47477 |
Files: runtime/doc/if_pyth.txt
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
*** ../vim-7.3.1096/runtime/doc/if_pyth.txt 2013-06-02 17:41:50.000000000 +0200
|
|
Karsten Hopp |
d47477 |
--- runtime/doc/if_pyth.txt 2013-06-02 17:44:29.000000000 +0200
|
|
Karsten Hopp |
d47477 |
***************
|
|
Karsten Hopp |
d47477 |
*** 176,181 ****
|
|
Karsten Hopp |
d47477 |
--- 176,185 ----
|
|
Karsten Hopp |
d47477 |
|python-bindeval-objects|. These python objects let you modify (|List|
|
|
Karsten Hopp |
d47477 |
or |Dictionary|) or call (|Funcref|) vim objects.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
+ vim.strwidth(str) *python-strwidth*
|
|
Karsten Hopp |
d47477 |
+ Like |strwidth()|: returns number of display cells str occupies, tab
|
|
Karsten Hopp |
d47477 |
+ is counted as one cell.
|
|
Karsten Hopp |
d47477 |
+
|
|
Karsten Hopp |
d47477 |
Error object of the "vim" module
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
vim.error *python-error*
|
|
Karsten Hopp |
d47477 |
***************
|
|
Karsten Hopp |
d47477 |
*** 329,334 ****
|
|
Karsten Hopp |
d47477 |
--- 333,340 ----
|
|
Karsten Hopp |
d47477 |
|BufFilePost| autocommands are launched.
|
|
Karsten Hopp |
d47477 |
b.number Buffer number. Can be used as |python-buffers| key.
|
|
Karsten Hopp |
d47477 |
Read-only.
|
|
Karsten Hopp |
d47477 |
+ b.valid True or False. Buffer object becames invalid when
|
|
Karsten Hopp |
d47477 |
+ corresponding buffer is wiped out.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
The buffer object methods are:
|
|
Karsten Hopp |
d47477 |
b.append(str) Append a line to the buffer
|
|
Karsten Hopp |
d47477 |
***************
|
|
Karsten Hopp |
d47477 |
*** 433,438 ****
|
|
Karsten Hopp |
d47477 |
--- 439,446 ----
|
|
Karsten Hopp |
d47477 |
row, col (read-only) On-screen window position in display cells.
|
|
Karsten Hopp |
d47477 |
First position is zero.
|
|
Karsten Hopp |
d47477 |
tabpage (read-only) Window tab page.
|
|
Karsten Hopp |
d47477 |
+ valid (read-write) True or False. Window object becames invalid
|
|
Karsten Hopp |
d47477 |
+ when corresponding window is closed.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
The height attribute is writable only if the screen is split horizontally.
|
|
Karsten Hopp |
d47477 |
The width attribute is writable only if the screen is split vertically.
|
|
Karsten Hopp |
d47477 |
***************
|
|
Karsten Hopp |
d47477 |
*** 456,461 ****
|
|
Karsten Hopp |
d47477 |
--- 464,471 ----
|
|
Karsten Hopp |
d47477 |
windows Like |python-windows|, but for current tab page.
|
|
Karsten Hopp |
d47477 |
vars The tab page |t:| variables.
|
|
Karsten Hopp |
d47477 |
window Current tabpage window.
|
|
Karsten Hopp |
d47477 |
+ valid True or False. Tab page object becames invalid when
|
|
Karsten Hopp |
d47477 |
+ corresponding tab page is closed.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
TabPage object type is available using "TabPage" attribute of vim module.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
*** ../vim-7.3.1096/src/version.c 2013-06-02 17:41:50.000000000 +0200
|
|
Karsten Hopp |
d47477 |
--- src/version.c 2013-06-02 17:44:06.000000000 +0200
|
|
Karsten Hopp |
d47477 |
***************
|
|
Karsten Hopp |
d47477 |
*** 730,731 ****
|
|
Karsten Hopp |
d47477 |
--- 730,733 ----
|
|
Karsten Hopp |
d47477 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d47477 |
+ /**/
|
|
Karsten Hopp |
d47477 |
+ 1097,
|
|
Karsten Hopp |
d47477 |
/**/
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
--
|
|
Karsten Hopp |
d47477 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
d47477 |
45. You buy a Captain Kirk chair with a built-in keyboard and mouse.
|
|
Karsten Hopp |
d47477 |
|
|
Karsten Hopp |
d47477 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d47477 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d47477 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d47477 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|