Mercurial > vim
diff src/testdir/test_cursor_func.vim @ 17994:0dcc2ee838dd v8.1.1993
patch 8.1.1993: more functions can be used as methods
Commit: https://github.com/vim/vim/commit/196b4664432f932625cfb6371dc42c24efe6c203
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 6 21:34:30 2019 +0200
patch 8.1.1993: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 Sep 2019 21:45:04 +0200 |
parents | f71ee7b04f0b |
children | 7a19c8d6bb9e |
line wrap: on
line diff
--- a/src/testdir/test_cursor_func.vim +++ b/src/testdir/test_cursor_func.vim @@ -87,7 +87,7 @@ func Test_screenpos() call assert_equal({'row': winrow, \ 'col': wincol + 13, \ 'curscol': wincol + 13, - \ 'endcol': wincol + 13}, screenpos(winid, 1, 7)) + \ 'endcol': wincol + 13}, winid->screenpos(1, 7)) call assert_equal({'row': winrow + 2, \ 'col': wincol + 1, \ 'curscol': wincol + 1,