1 Test Moving forward/backward
3 Moving forward: "\nabc ABC xyz DEF def\n"[1, 20]
4 Moving backward: "\nabc ABC xyz DEF def\n"[20, 1]
6 Moving forward: "\nabc ABC xyz DEF def\n"[1, 20]
7 Moving backward: "\nabc ABC xyz DEF def\n"[20, 1]
9 Moving forward: "\nABC xyz DEF def GHI\n"[1, 20]
10 Moving backward: "\nABC xyz DEF def GHI\n"[20, 1]
12 Moving forward: "\nABC xyz DEF def GHI\n"[1, 20]
13 Moving backward: "\nABC xyz DEF def GHI\n"[20, 1]
15 Moving forward: "\nABC DEF ABC\n"[1, 12]
16 Moving backward: "\nABC DEF ABC\n"[12, 1]
18 Moving forward: "\nABC DEF ABC\n"[1, 12]
19 Moving backward: "\nABC DEF ABC\n"[12, 1]
21 Moving forward: "\nabc efd dabeb\n"[1, 14]
22 Moving backward: "\nabc efd dabeb\n"[14, 1]
24 Moving forward: "\nabc efd dabeb\n"[1, 14]
25 Moving backward: "\nabc efd dabeb\n"[14, 1]
27 Moving forward: "Lorem "[0], " amet"[5]
28 Moving backward: " amet"[5], "Lorem "[0]
30 Moving forward: "Lorem "[0], " amet"[5]
31 Moving backward: " amet"[5], "Lorem "[0]
33 Moving forward: "Lorem "[0], "ipsum dolor"[11]
34 Moving backward: "ipsum dolor"[11], "Lorem "[0]
36 Moving forward: "Lorem "[0], "ipsum dolor"[11]
37 Moving backward: "ipsum dolor"[11], "Lorem "[0]
39 Moving forward: "Lorem "[0], " amet"[5]
40 Moving backward: " amet"[5], "Lorem "[0]
42 Moving forward: "Lorem "[0], " amet"[5]
43 Moving backward: " amet"[5], "Lorem "[0]
45 Moving forward: "Lorem "[0, 5]
46 Moving backward: "Lorem "[5, 0]
48 Moving forward: "Lorem "[0, 5]
49 Moving backward: "Lorem "[5, 0]
51 Moving forward: "Lorem "[0], " amet"[5]
52 Moving backward: " amet"[5], "Lorem "[0]
54 Moving forward: "Lorem "[0], " amet"[5]
55 Moving backward: " amet"[5], "Lorem "[0]
57 Moving forward: "Lorem "[0], "ipsum dolor"[11]
58 Moving backward: "ipsum dolor"[11], "Lorem "[0]
60 Moving forward: "Lorem "[0], "ipsum dolor"[11]
61 Moving backward: "ipsum dolor"[11], "Lorem "[0]
63 Moving forward: "Lorem "[0], " amet"[5]
64 Moving backward: " amet"[5], "Lorem "[0]
66 Moving forward: "Lorem "[0], " amet"[5]
67 Moving backward: " amet"[5], "Lorem "[0]
69 Moving forward: "Lorem "[0, 5]
70 Moving backward: "Lorem "[5, 0]
72 Moving forward: "Lorem "[0, 5]
73 Moving backward: "Lorem "[5, 0]
75 Moving forward: "\n Just\n "[2], "\n BFDX\n"[6]
76 Moving backward: "\n BFDX\n"[6], "\n Just\n "[2]
78 Moving forward: "\n Just\n "[2], "\n BFDX\n"[6]
79 Moving backward: "\n BFDX\n"[6], "\n Just\n "[2]
81 Moving forward: "\n Just\n "[2], "\n ever\n"[6]
82 Moving backward: "\n ever\n"[6], "\n Just\n "[2]
84 Moving forward: "\n Just\n "[2], "\n ever\n"[6]
85 Moving backward: "\n ever\n"[6], "\n Just\n "[2]
87 Moving forward: "car means ABC."[0, 14]
88 Moving backward: "car means ABC."[14, 0]
90 Moving forward: "car means ABC."[0, 14]
91 Moving backward: "car means ABC."[14, 0]
93 Moving forward: "car DEF ABC."[0, 14]
94 Moving backward: "car DEF ABC."[14, 0]
96 Moving forward: "car DEF ABC."[0, 14]
97 Moving backward: "car DEF ABC."[14, 0]
99 Moving forward: "he said "car DEF ABC.""[0, 24]
100 Moving backward: "he said "car DEF ABC.""[24, 0]
102 Moving forward: "he said "car DEF ABC.""[0, 24]
103 Moving backward: "he said "car DEF ABC.""[24, 0]
105 Moving forward: "GHI JKL MNO 'he said "car DEF ABC"'?"[0, 40]
106 Moving backward: "GHI JKL MNO 'he said "car DEF ABC"'?"[40, 0]
108 Moving forward: "GHI JKL MNO 'he said "car DEF ABC"'?"[0, 40]
109 Moving backward: "GHI JKL MNO 'he said "car DEF ABC"'?"[40, 0]
111 Moving forward: "ABC abc DEF"[0, 11]
112 Moving backward: "ABC abc DEF"[11, 0]
114 Moving forward: "ABC abc DEF"[0, 11]
115 Moving backward: "ABC abc DEF"[11, 0]
117 Moving forward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
118 Moving backward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
120 Moving forward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
121 Moving backward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
123 Moving forward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
124 Moving backward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
126 Moving forward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
127 Moving backward: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
128 Test Moving right/left
130 Moving right: "\nabc ABC xyz DEF def\n"[1, 20]
131 Moving left: "\nabc ABC xyz DEF def\n"[20, 1]
133 Moving left: "\nabc ABC xyz DEF def\n"[1, 20]
134 Moving right: "\nabc ABC xyz DEF def\n"[20, 1]
136 Moving right: "\nABC xyz DEF def GHI\n"[1, 20]
137 Moving left: "\nABC xyz DEF def GHI\n"[20, 1]
139 Moving left: "\nABC xyz DEF def GHI\n"[1, 20]
140 Moving right: "\nABC xyz DEF def GHI\n"[20, 1]
142 Moving right: "\nABC DEF ABC\n"[1, 12]
143 Moving left: "\nABC DEF ABC\n"[12, 1]
145 Moving left: "\nABC DEF ABC\n"[1, 12]
146 Moving right: "\nABC DEF ABC\n"[12, 1]
148 Moving right: "\nabc efd dabeb\n"[1, 14]
149 Moving left: "\nabc efd dabeb\n"[14, 1]
151 Moving left: "\nabc efd dabeb\n"[1, 14]
152 Moving right: "\nabc efd dabeb\n"[14, 1]
154 Moving right: "Lorem "[0], " amet"[5]
155 Moving left: " amet"[5], "Lorem "[0]
157 Moving left: "Lorem "[0], " amet"[5]
158 Moving right: " amet"[5], "Lorem "[0]
160 Moving right: "Lorem "[0], "ipsum dolor"[11]
161 Moving left: "ipsum dolor"[11], "Lorem "[0]
163 Moving left: "Lorem "[0], "ipsum dolor"[11]
164 Moving right: "ipsum dolor"[11], "Lorem "[0]
166 Moving right: "Lorem "[0], " amet"[5]
167 Moving left: " amet"[5], "Lorem "[0]
169 Moving left: "Lorem "[0], " amet"[5]
170 Moving right: " amet"[5], "Lorem "[0]
172 Moving right: "Lorem "[0, 5]
173 Moving left: "Lorem "[5, 0]
175 Moving left: "Lorem "[0, 5]
176 Moving right: "Lorem "[5, 0]
178 Moving right: "Lorem "[0], " amet"[5]
179 Moving left: " amet"[5], "Lorem "[0]
181 Moving left: "Lorem "[0], " amet"[5]
182 Moving right: " amet"[5], "Lorem "[0]
184 Moving right: "Lorem "[0], "ipsum dolor"[11]
185 Moving left: "ipsum dolor"[11], "Lorem "[0]
187 Moving left: "Lorem "[0], "ipsum dolor"[11]
188 Moving right: "ipsum dolor"[11], "Lorem "[0]
190 Moving right: "Lorem "[0], " amet"[5]
191 Moving left: " amet"[5], "Lorem "[0]
193 Moving left: "Lorem "[0], " amet"[5]
194 Moving right: " amet"[5], "Lorem "[0]
196 Moving right: "Lorem "[0, 5]
197 Moving left: "Lorem "[5, 0]
199 Moving left: "Lorem "[0, 5]
200 Moving right: "Lorem "[5, 0]
202 Moving right: "\n Just\n "[2], "\n BFDX\n"[6]
203 Moving left: "\n BFDX\n"[6], "\n Just\n "[2]
205 Moving left: "\n Just\n "[2], "\n BFDX\n"[6]
206 Moving right: "\n BFDX\n"[6], "\n Just\n "[2]
208 Moving right: "\n Just\n "[2], "\n ever\n"[6]
209 Moving left: "\n ever\n"[6], "\n Just\n "[2]
211 Moving left: "\n Just\n "[2], "\n ever\n"[6]
212 Moving right: "\n ever\n"[6], "\n Just\n "[2]
214 Moving right: "car means ABC."[0, 14]
215 Moving left: "car means ABC."[14, 0]
217 Moving left: "car means ABC."[0, 14]
218 Moving right: "car means ABC."[14, 0]
220 Moving right: "car DEF ABC."[0, 14]
221 Moving left: "car DEF ABC."[14, 0]
223 Moving left: "car DEF ABC."[0, 14]
224 Moving right: "car DEF ABC."[14, 0]
226 Moving right: "he said "car DEF ABC.""[0, 24]
227 Moving left: "he said "car DEF ABC.""[24, 0]
229 Moving left: "he said "car DEF ABC.""[0, 24]
230 Moving right: "he said "car DEF ABC.""[24, 0]
232 Moving right: "GHI JKL MNO 'he said "car DEF ABC"'?"[0, 40]
233 Moving left: "GHI JKL MNO 'he said "car DEF ABC"'?"[40, 0]
235 Moving left: "GHI JKL MNO 'he said "car DEF ABC"'?"[0, 40]
236 Moving right: "GHI JKL MNO 'he said "car DEF ABC"'?"[40, 0]
238 Moving right: "ABC abc DEF"[0, 11]
239 Moving left: "ABC abc DEF"[11, 0]
241 Moving left: "ABC abc DEF"[0, 11]
242 Moving right: "ABC abc DEF"[11, 0]
244 Moving right: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
245 Moving left: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
247 Moving left: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
248 Moving right: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
250 Moving right: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
251 Moving left: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]
253 Moving left: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[0, 16]
254 Moving right: "abcdefg abcdefg abcdefg a abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg abcdefg "[16, 0]