Mercurial > vim
comparison runtime/doc/if_ruby.txt @ 14413:c3b62844ee4e v8.1.0221
patch 8.1.0221: not enough testing for the Ruby interface
commit https://github.com/vim/vim/commit/edd6aacb010ad2402fc98f19e7f6b7c29ba2656f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 28 17:29:19 2018 +0200
patch 8.1.0221: not enough testing for the Ruby interface
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closes https://github.com/vim/vim/issues/3252)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 28 Jul 2018 17:30:07 +0200 |
parents | 1174611ad715 |
children | 2f7e67dd088c |
comparison
equal
deleted
inserted
replaced
14412:6578f440d130 | 14413:c3b62844ee4e |
---|---|
143 self[{n}] Returns the buffer object for the number {n}. The first number | 143 self[{n}] Returns the buffer object for the number {n}. The first number |
144 is 0. | 144 is 0. |
145 | 145 |
146 Methods: | 146 Methods: |
147 | 147 |
148 name Returns the name of the buffer. | 148 name Returns the full name of the buffer. |
149 number Returns the number of the buffer. | 149 number Returns the number of the buffer. |
150 count Returns the number of lines. | 150 count Returns the number of lines. |
151 length Returns the number of lines. | 151 length Returns the number of lines. |
152 self[{n}] Returns a line from the buffer. {n} is the line number. | 152 self[{n}] Returns a line from the buffer. {n} is the line number. |
153 self[{n}] = {str} | 153 self[{n}] = {str} |
179 height Returns the height of the window. | 179 height Returns the height of the window. |
180 height = {n} Sets the window height to {n}. | 180 height = {n} Sets the window height to {n}. |
181 width Returns the width of the window. | 181 width Returns the width of the window. |
182 width = {n} Sets the window width to {n}. | 182 width = {n} Sets the window width to {n}. |
183 cursor Returns a [row, col] array for the cursor position. | 183 cursor Returns a [row, col] array for the cursor position. |
184 First line number is 1 and first column number is 0. | |
184 cursor = [{row}, {col}] | 185 cursor = [{row}, {col}] |
185 Sets the cursor position to {row} and {col}. | 186 Sets the cursor position to {row} and {col}. |
186 | 187 |
187 ============================================================================== | 188 ============================================================================== |
188 5. Global variables *ruby-globals* | 189 5. Global variables *ruby-globals* |