Mercurial > vim
diff src/testdir/test_normal.vim @ 10102:b80ad55d62d8 v7.4.2322
commit https://github.com/vim/vim/commit/bc54f3f3fed4dc3556df8c46cee6739d211b0eb2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 4 14:34:28 2016 +0200
patch 7.4.2322
Problem: Access memory beyond the end of the line. (Dominique Pelle)
Solution: Adjust the cursor column.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 04 Sep 2016 14:45:06 +0200 |
parents | d7846e9fbf65 |
children | b2dbe79639a2 |
line wrap: on
line diff
--- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -398,6 +398,15 @@ func! Test_normal14_page() bw! endfu +func! Test_normal14_page_eol() + 10new + norm oxxxxxxx + exe "norm 2\<c-f>" + " check with valgrind that cursor is put back in column 1 + exe "norm 2\<c-b>" + bw! +endfunc + func! Test_normal15_z_scroll_vert() " basic test for z commands that scroll the window call Setup_NewWindow()