Mercurial > vim
comparison runtime/doc/if_pyth.txt @ 4379:a2f03b41dca7 v7.3.938
updated for version 7.3.938
Problem: Python: not easy to get to window number.
Solution: Add vim.window.number. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 May 2013 19:00:41 +0200 |
parents | cf1d93a3914a |
children | e2db42528a5b |
comparison
equal
deleted
inserted
replaced
4378:b6df5640cd64 | 4379:a2f03b41dca7 |
---|---|
394 window-local options, for buffer-local use | 394 window-local options, for buffer-local use |
395 |python-buffer| and for global ones use | 395 |python-buffer| and for global ones use |
396 |python-options|. If option is |global-local| | 396 |python-options|. If option is |global-local| |
397 and local value is missing getting it will | 397 and local value is missing getting it will |
398 return None. | 398 return None. |
399 number (read-only) Window number. The first window has number 1. | |
400 This is zero in case it cannot be determined | |
401 (e.g. when the window object belongs to other | |
402 tab page). | |
399 The height attribute is writable only if the screen is split horizontally. | 403 The height attribute is writable only if the screen is split horizontally. |
400 The width attribute is writable only if the screen is split vertically. | 404 The width attribute is writable only if the screen is split vertically. |
401 | 405 |
402 ============================================================================== | 406 ============================================================================== |
403 6. pyeval() and py3eval() Vim functions *python-pyeval* | 407 6. pyeval() and py3eval() Vim functions *python-pyeval* |