annotate src/testdir/test61.in @ 825:6675076019ae v7.0d

updated for version 7.0d
author vimboss
date Mon, 10 Apr 2006 14:55:34 +0000
parents 497fab3f99d6
children 2c885fab04e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
767
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
1 Tests for undo tree.
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
2 Since this script is sourced we need to explicitly break changes up in
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
3 undo-able pieces. Do that by setting 'undolevels'.
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
4
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
5 STARTTEST
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
6 :" Delete three characters and undo
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
7 Gx:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
8 x:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
9 x:.w! test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
10 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
11 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
12 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
13 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
14 :"
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
15 :/^111/w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
16 :" Delete three other characters and go back in time step by step
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
17 $x:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
18 x:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
19 x:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
20 :sleep 1
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
21 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
22 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
23 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
24 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
25 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
26 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
27 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
28 g-:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
29 10g+:.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
30 :"
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
31 :/^222/w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
32 :" Delay for three seconds and go some seconds forward and backward
805
497fab3f99d6 updated for version 7.0b01
vimboss
parents: 800
diff changeset
33 :sleep 2
767
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
34 Aa:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
35 Ab:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
36 Ac:set ul=100
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
37 :.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
38 :ear 1s
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
39 :.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
40 :ear 3s
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
41 :.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
42 :later 1s
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
43 :.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
44 :later 1h
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
45 :.w >>test.out
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
46 :qa!
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
47 ENDTEST
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
48
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
49 1111 -----
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
50 2222 -----
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
51
6c8a16911e94 updated for version 7.0225
vimboss
parents:
diff changeset
52 123456789