mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:8.2.3095: with 'virtualedit' set to "block" block selection is wrong
Problem: With 'virtualedit' set to "block" block selection is wrong after
using "$". (Marco Trosi)
Solution: Compute the longest selected line. (closes vim/vim#8495)
b17ab86e7b
This commit is contained in:
@@ -1124,6 +1124,9 @@ func Test_visual_block_with_virtualedit()
|
||||
call term_sendkeys(buf, "\<C-V>gg$")
|
||||
call VerifyScreenDump(buf, 'Test_visual_block_with_virtualedit', {})
|
||||
|
||||
call term_sendkeys(buf, "\<Esc>gg\<C-V>G$")
|
||||
call VerifyScreenDump(buf, 'Test_visual_block_with_virtualedit2', {})
|
||||
|
||||
" clean up
|
||||
call term_sendkeys(buf, "\<Esc>")
|
||||
call StopVimInTerminal(buf)
|
||||
|
Reference in New Issue
Block a user