view src/testdir/test20.in @ 25883:826c36b4640b v8.2.3475

patch 8.2.3475: expression register set by not executed put command Commit: https://github.com/vim/vim/commit/08d7b1c82866a61b61a55e55b6c190dba04e54ea Author: kuuote <znmxodq1@gmail.com> Date: Mon Oct 4 22:17:36 2021 +0100 patch 8.2.3475: expression register set by not executed put command Problem: Expression register set by not executed put command. Solution: Do not set the register if the command is skipped. (closes https://github.com/vim/vim/issues/8909)
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Oct 2021 23:30:03 +0200
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests Blockwise Visual when there are TABs before the text.
First test for undo working properly when executing commands from a register.
Also test this in an empty buffer.

STARTTEST
G0"ay$k@au
:new
@auY:quit!
GP
/start here$
"by$jjlld
/456$
jj"bP
:/56$/,$-1w! test.out
:qa!
ENDTEST

123456
234567
345678

test text test tex start here
		some text
		test text
test text

OxjAykdd