diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-28 17:29:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-28 17:29:19 +0200 |
commit | edd6aacb010ad2402fc98f19e7f6b7c29ba2656f (patch) | |
tree | d7b1729a2d9dd01dd5cdd9bbad9c0d177f4515ab /runtime | |
parent | d84b26a03b13cd816d80ff32b61e8de740d499ce (diff) | |
download | vim-git-edd6aacb010ad2402fc98f19e7f6b7c29ba2656f.tar.gz |
patch 8.1.0221: not enough testing for the Ruby interfacev8.1.0221
Problem: Not enough testing for the Ruby interface.
Solution: Add more tests. (Dominique Pelle, closes #3252)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/if_ruby.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/if_ruby.txt b/runtime/doc/if_ruby.txt index 1b4fd40f3..572a6ec15 100644 --- a/runtime/doc/if_ruby.txt +++ b/runtime/doc/if_ruby.txt @@ -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}. |