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 #3252)
This commit is contained in:
Bram Moolenaar
2018-07-28 17:29:19 +02:00
parent d84b26a03b
commit edd6aacb01
3 changed files with 322 additions and 33 deletions

View File

@ -145,7 +145,7 @@ self[{n}] Returns the buffer object for the number {n}. The first number
Methods:
name Returns the name of the buffer.
name Returns the full name of the buffer.
number Returns the number of the buffer.
count Returns the number of lines.
length Returns the number of lines.
@ -181,6 +181,7 @@ height = {n} Sets the window height to {n}.
width Returns the width of the window.
width = {n} Sets the window width to {n}.
cursor Returns a [row, col] array for the cursor position.
First line number is 1 and first column number is 0.
cursor = [{row}, {col}]
Sets the cursor position to {row} and {col}.