annotate src/testdir/test41.in @ 9377:5ec4fbfe38c5 v7.4.1970

commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 1 14:04:51 2016 +0200 patch 7.4.1970 Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo Karkat) Solution: Don't adjust marks when replacing the empty line in an empty buffer. (closes #892)
author Christian Brabandt <cb@256bit.org>
date Fri, 01 Jul 2016 14:15:06 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 Test for writing and reading a file of over 100 Kbyte
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 1 line: "This is the start"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 3001 lines: "This is the leader"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 1 line: "This is the middle"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 3001 lines: "This is the trailer"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 1 line: "This is the end"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :%d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 aThis is the start
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 This is the leader
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 This is the middle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 This is the trailer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 This is the endkY3000p2GY3000p
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 :w! Xtest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :%d
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 :e! Xtest
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :.w! test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 3003G:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 6005G:.w >>test.out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24