0
0
mirror of https://github.com/vim/vim.git synced 2025-11-13 22:54:27 -05:00

updated for version 7.4.310

Problem:    getpos()/setpos() don't include curswant.
Solution:   Add a fifth number when getting/setting the cursor.
This commit is contained in:
Bram Moolenaar
2014-05-28 14:34:46 +02:00
parent dd0402a759
commit 493c178a28
5 changed files with 54 additions and 13 deletions

View File

@@ -190,9 +190,18 @@ endfun
:$put =v:exception
:endtry
:"
:$put ='{{{1 setpos/getpos'
/^012345678
6l:let sp = getpos('.')
0:call setpos('.', sp)
jyl:$put
:"
:/^start:/+1,$wq! test.out
:" vim: et ts=4 isk-=\: fmr=???,???
:call getchar()
ENDTEST
012345678
012345678
start:

Binary file not shown.