view src/testdir/test20.in @ 28867:987d29ca36a5 v8.2.4956

patch 8.2.4956: reading past end of line with "gf" in Visual block mode Commit: https://github.com/vim/vim/commit/395bd1f6d3edc9f7edb5d1f2d7deaf5a9e3ab93c Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 14 21:29:44 2022 +0100 patch 8.2.4956: reading past end of line with "gf" in Visual block mode Problem: Reading past end of line with "gf" in Visual block mode. Solution: Do not include the NUL in the length.
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 May 2022 22: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