view src/testdir/test11.ok @ 15519:89e76a598b30 v8.1.0767

patch 8.1.0767: when deleting lines at the bottom signs are misplaced commit https://github.com/vim/vim/commit/c771bf901622064dc27421b04853e16b6914a295 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 17 17:36:45 2019 +0100 patch 8.1.0767: when deleting lines at the bottom signs are misplaced Problem: When deleting lines at the bottom signs are misplaced. Solution: Properly update the line number of signs at the end of a buffer after a delete/undo operation. (Yegappan Lakshmanan, closes #3798)
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Jan 2019 17:45:06 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

startstart
start of testfile
line 2	Abcdefghijklmnopqrstuvwxyz
line 3	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4	Abcdefghijklmnopqrstuvwxyz
line 5	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 6	Abcdefghijklmnopqrstuvwxyz
line 7	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 8	Abcdefghijklmnopqrstuvwxyz
line 9	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 10 Abcdefghijklmnopqrstuvwxyz
end of testfile

start of test.c
/*
 * Here is a new .c file
 */
end of test.c
start of testfile
line 2	Abcdefghijklmnopqrstuvwxyz
line 3	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 4	Abcdefghijklmnopqrstuvwxyz
linE 5	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 6	AbcdefghijklmnopqrstuvwXyz
linE 7	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 8	AbcdefghijklmnopqrstuvwXyz
linE 9	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 10 AbcdefghijklmnopqrstuvwXyz
End of testfile

/*
 * HEre is a NEW .c file
 */
/*
 * HEre is a new .c file
 */
start of tEstfile
linE 2	AbcdefghijklmnopqrstuvwXyz
linE 3	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 4	AbcdefghijklmnopqrstuvwXyz
linE 5	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 6	AbcdefghijklmnopqrstuvwXyz
linE 7	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 8	AbcdefghijklmnopqrstuvwXyz
linE 9	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
linE 10 AbcdefghijklmnopqrstuvwXyz
End of testfile
/*
 * HEre is a new .c file
 */
start of testfiLe
Line 2	Abcdefghijklmnopqrstuvwxyz
Line 3	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 4	Abcdefghijklmnopqrstuvwxyz
Line 5	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 6	Abcdefghijklmnopqrstuvwxyz
Line 7	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 8	Abcdefghijklmnopqrstuvwxyz
Line 9	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Line 10 Abcdefghijklmnopqrstuvwxyz
end of testfiLe