view src/testdir/test20.in @ 27245:776db9e02b61 v8.2.4151

patch 8.2.4151: reading beyond the end of a line Commit: https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 12:10:48 2022 +0000 patch 8.2.4151: reading beyond the end of a line Problem: Reading beyond the end of a line. Solution: For block insert only use the offset for correcting the length.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 13:15:04 +0100
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