1
0
forked from aniani/vim

patch 7.4.2322

Problem:    Access memory beyond the end of the line. (Dominique Pelle)
Solution:   Adjust the cursor column.
This commit is contained in:
Bram Moolenaar
2016-09-04 14:34:28 +02:00
parent dac1947bb3
commit bc54f3f3fe
3 changed files with 12 additions and 0 deletions

View File

@@ -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()