Mercurial > vim
view src/testdir/test_jumps.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 | 5ec4fbfe38c5 |
children | 08940efa6b4e |
line wrap: on
line source
func Test_empty_buffer() new insert a b c d . call assert_equal(1, line("''")) bwipe! endfunc