view src/testdir/test20.in @ 32094:7d94b1c0f292 v9.0.1378

patch 9.0.1378: illegal memory access when using virtual editing Commit: https://github.com/vim/vim/commit/c99cbf8f289bdda5d4a77d7ec415850a520330ba Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 4 14:13:10 2023 +0000 patch 9.0.1378: illegal memory access when using virtual editing Problem: Illegal memory access when using virtual editing. Solution: Make sure "startspaces" is not negative.
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Mar 2023 15: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