Mercurial > vim
comparison src/testdir/test_listchars.vim @ 18035:11dca9732a48 v8.1.2013
patch 8.1.2013: more functions can be used as methods
Commit: https://github.com/vim/vim/commit/f92e58cadb03156879e9bdbf6341bf662d9c87cc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 8 21:51:41 2019 +0200
patch 8.1.2013: 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 | Sun, 08 Sep 2019 22:00:04 +0200 |
parents | a51ccadd0dca |
children | 08940efa6b4e |
comparison
equal
deleted
inserted
replaced
18034:834b9558f93c | 18035:11dca9732a48 |
---|---|
23 \ '<$' | 23 \ '<$' |
24 \ ] | 24 \ ] |
25 redraw! | 25 redraw! |
26 for i in range(1, 5) | 26 for i in range(1, 5) |
27 call cursor(i, 1) | 27 call cursor(i, 1) |
28 call assert_equal([expected[i - 1]], ScreenLines(i, virtcol('$'))) | 28 call assert_equal([expected[i - 1]], ScreenLines(i, '$'->virtcol())) |
29 endfor | 29 endfor |
30 | 30 |
31 set listchars-=trail:< | 31 set listchars-=trail:< |
32 let expected = [ | 32 let expected = [ |
33 \ '>-------aa>-----$', | 33 \ '>-------aa>-----$', |