annotate src/testdir/test37.in @ 5735:50dbef5e774a v7.4.212

updated for version 7.4.212 Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Mar 2014 15:13:05 +0100
parents a81bc802c17c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
a81bc802c17c updated for version 7.0011
vimboss
parents: 7
diff changeset
1 Test for 'scrollbind'. <eralston@computer.org> Do not add a line below!
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 :so small.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :set noscrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 :set scrollopt=ver,jump
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 :set scrolloff=2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 :set nowrap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 :set noequalalways
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 :set splitbelow
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :" TEST using two windows open to one buffer, one extra empty window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 :split
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 :new
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 t:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 :resize 8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 /^start of window 1$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 zt:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 :set scrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 j:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 :resize 7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 /^start of window 2$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 zt:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 :set scrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 :" -- start of tests --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 :" TEST scrolling down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 L5jHyybpr0tHyybpr1tL6jHyybpr2kHyybpr3:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 :" TEST scrolling up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 tH4kjHtHyybpr4kHyybpr5k3ktHjHyybpr6tHyybpr7:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 :" TEST horizontal scrolling
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 :set scrollopt+=hor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 gg"zyyG"zpGt015zly$bp"zpGky$bp"zpG:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 k10jH7zhg0y$bp"zpGtHg0y$bp"zpG:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 :set scrollopt-=hor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 :" ****** tests using two different buffers *****
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 tj:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 :close
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 t:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 :set noscrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 :/^start of window 2$/,/^end of window 2$/y
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 :new
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 tj4"zpGp:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 t/^start of window 1$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 zt:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 :set scrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 j:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 /^start of window 2$/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 zt:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 :set scrollbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 :" -- start of tests --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 :" TEST scrolling down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 L5jHyybpr0tHyybpr1tL6jHyybpr2kHyybpr3:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 :" TEST scrolling up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 tH4kjHtHyybpr4kHyybpr5k3ktHjHyybpr6tHyybpr7:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 :" TEST horizontal scrolling
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 :set scrollopt+=hor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 gg"zyyG"zpGt015zly$bp"zpGky$bp"zpG:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 k10jH7zhg0y$bp"zpGtHg0y$bp"zpG:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 :set scrollopt-=hor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 :" TEST syncbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 t:set noscb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ggLj:set noscb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 ggL:set scb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 t:set scb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 GjG:syncbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 HktHjHyybptyybp:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 t:set noscb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 ggLj:set noscb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 ggL:set scb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 t:set scb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 tGjGt:syncbind
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 HkjHtHyybptjyybp:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 tH3kjHtHyybptjyybp:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 :" ***** done with tests *****
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 :w! test.out " Write contents of this file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 start of window 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 . line 01 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 . line 02 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 . line 03 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 03
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 . line 04 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 . line 05 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 05
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 . line 06 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 06
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 . line 07 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 07
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 . line 08 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 . line 09 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 09
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 . line 10 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 . line 11 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 . line 12 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 . line 13 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 . line 14 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 . line 15 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ 15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 end of window 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 start of window 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 . line 01 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 . line 02 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 . line 03 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 03
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 . line 04 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 . line 05 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 05
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 . line 06 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 06
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 . line 07 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 07
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 . line 08 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 . line 09 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 09
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 . line 10 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 . line 11 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 . line 12 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 . line 13 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 . line 14 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 . line 15 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 . line 16 ZYXWVUTSRQPONMLKJIHGREDCBA9876543210 16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 end of window 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 end of test37.in (please don't delete this line)