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:
@@ -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.
Reference in New Issue
Block a user