1 This test checks how text editor handles different movements: ctrl-left, ctrl-right, ctrl-shift-left, ctrl-backspace, alt-left, alt-right, alt-shift-left, alt-shift-right.
3 function testFunction(foo, bar)
7 return a === 1 ? true : false;
10 Running: testCtrlRightArrow
11 |function testFunction(foo, bar)
12 function| testFunction(foo, bar)
13 function testFunction|(foo, bar)
14 function testFunction(|foo, bar)
15 function testFunction(foo|, bar)
16 function testFunction(foo,| bar)
17 function testFunction(foo, bar|)
18 function testFunction(foo, bar)|
21 | someFunctionCall(bar);
22 someFunctionCall|(bar);
23 someFunctionCall(|bar);
24 someFunctionCall(bar|);
25 someFunctionCall(bar);|
32 | return a === 1 ? true : false;
33 return| a === 1 ? true : false;
34 return a| === 1 ? true : false;
35 return a ===| 1 ? true : false;
36 return a === 1| ? true : false;
37 return a === 1 ?| true : false;
38 return a === 1 ? true| : false;
39 return a === 1 ? true :| false;
40 return a === 1 ? true : false|;
41 return a === 1 ? true : false;|
46 Running: testCtrlLeftArrow
49 return a === 1 ? true : false;|
50 return a === 1 ? true : false|;
51 return a === 1 ? true : |false;
52 return a === 1 ? true |: false;
53 return a === 1 ? |true : false;
54 return a === 1 |? true : false;
55 return a === |1 ? true : false;
56 return a |=== 1 ? true : false;
57 return |a === 1 ? true : false;
58 |return a === 1 ? true : false;
59 | return a === 1 ? true : false;
67 someFunctionCall(bar);|
68 someFunctionCall(bar|);
69 someFunctionCall(|bar);
70 someFunctionCall|(bar);
71 |someFunctionCall(bar);
72 | someFunctionCall(bar);
75 function testFunction(foo, bar)|
76 function testFunction(foo, bar|)
77 function testFunction(foo, |bar)
78 function testFunction(foo|, bar)
79 function testFunction(|foo, bar)
80 function testFunction|(foo, bar)
81 function |testFunction(foo, bar)
82 |function testFunction(foo, bar)
83 |function testFunction(foo, bar)
85 Running: testCtrlShiftRightArrow
86 |function testFunction(foo, bar)
88 >>function testFunction<<
89 >>function testFunction(<<
90 >>function testFunction(foo<<
91 >>function testFunction(foo,<<
92 >>function testFunction(foo, bar<<
93 >>function testFunction(foo, bar)<<
94 >>function testFunction(foo, bar)
96 >>function testFunction(foo, bar)
98 >>function testFunction(foo, bar)
101 >>function testFunction(foo, bar)
104 >>function testFunction(foo, bar)
107 >>function testFunction(foo, bar)
109 someFunctionCall(bar<<
110 >>function testFunction(foo, bar)
112 someFunctionCall(bar);<<
113 >>function testFunction(foo, bar)
115 someFunctionCall(bar);
117 >>function testFunction(foo, bar)
119 someFunctionCall(bar);
121 >>function testFunction(foo, bar)
123 someFunctionCall(bar);
125 >>function testFunction(foo, bar)
127 someFunctionCall(bar);
129 >>function testFunction(foo, bar)
131 someFunctionCall(bar);
133 >>function testFunction(foo, bar)
135 someFunctionCall(bar);
137 >>function testFunction(foo, bar)
139 someFunctionCall(bar);
142 >>function testFunction(foo, bar)
144 someFunctionCall(bar);
147 >>function testFunction(foo, bar)
149 someFunctionCall(bar);
152 >>function testFunction(foo, bar)
154 someFunctionCall(bar);
157 >>function testFunction(foo, bar)
159 someFunctionCall(bar);
162 >>function testFunction(foo, bar)
164 someFunctionCall(bar);
167 >>function testFunction(foo, bar)
169 someFunctionCall(bar);
171 return a === 1 ? true<<
172 >>function testFunction(foo, bar)
174 someFunctionCall(bar);
176 return a === 1 ? true :<<
177 >>function testFunction(foo, bar)
179 someFunctionCall(bar);
181 return a === 1 ? true : false<<
182 >>function testFunction(foo, bar)
184 someFunctionCall(bar);
186 return a === 1 ? true : false;<<
187 >>function testFunction(foo, bar)
189 someFunctionCall(bar);
191 return a === 1 ? true : false;
193 >>function testFunction(foo, bar)
195 someFunctionCall(bar);
197 return a === 1 ? true : false;
199 >>function testFunction(foo, bar)
201 someFunctionCall(bar);
203 return a === 1 ? true : false;
206 Running: testCtrlShiftLeftArrow
223 >>=== 1 ? true : false;
225 >>a === 1 ? true : false;
227 >>return a === 1 ? true : false;
229 >> return a === 1 ? true : false;
232 return a === 1 ? true : false;
235 return a === 1 ? true : false;
238 return a === 1 ? true : false;
241 return a === 1 ? true : false;
244 return a === 1 ? true : false;
247 return a === 1 ? true : false;
250 return a === 1 ? true : false;
254 return a === 1 ? true : false;
258 return a === 1 ? true : false;
262 return a === 1 ? true : false;
266 return a === 1 ? true : false;
268 >>someFunctionCall(bar);
270 return a === 1 ? true : false;
272 >> someFunctionCall(bar);
274 return a === 1 ? true : false;
277 someFunctionCall(bar);
279 return a === 1 ? true : false;
282 someFunctionCall(bar);
284 return a === 1 ? true : false;
288 someFunctionCall(bar);
290 return a === 1 ? true : false;
294 someFunctionCall(bar);
296 return a === 1 ? true : false;
300 someFunctionCall(bar);
302 return a === 1 ? true : false;
306 someFunctionCall(bar);
308 return a === 1 ? true : false;
312 someFunctionCall(bar);
314 return a === 1 ? true : false;
318 someFunctionCall(bar);
320 return a === 1 ? true : false;
322 >>testFunction(foo, bar)
324 someFunctionCall(bar);
326 return a === 1 ? true : false;
328 >>function testFunction(foo, bar)
330 someFunctionCall(bar);
332 return a === 1 ? true : false;
334 >>function testFunction(foo, bar)
336 someFunctionCall(bar);
338 return a === 1 ? true : false;
341 Running: testCtrlBackspace
343 function testFunction(foo, bar)
345 someFunctionCall(bar);
347 return a === 1 ? true : false;
350 function testFunction(foo, bar)
352 someFunctionCall(bar);
354 return a === 1 ? true : false;
357 function testFunction(foo, bar)
359 someFunctionCall(bar);
361 return a === 1 ? true : false;<<
363 function testFunction(foo, bar)
365 someFunctionCall(bar);
367 return a === 1 ? true : false<<
369 function testFunction(foo, bar)
371 someFunctionCall(bar);
373 return a === 1 ? true : <<
375 function testFunction(foo, bar)
377 someFunctionCall(bar);
379 return a === 1 ? true <<
381 function testFunction(foo, bar)
383 someFunctionCall(bar);
387 function testFunction(foo, bar)
389 someFunctionCall(bar);
393 function testFunction(foo, bar)
395 someFunctionCall(bar);
399 function testFunction(foo, bar)
401 someFunctionCall(bar);
405 function testFunction(foo, bar)
407 someFunctionCall(bar);
411 function testFunction(foo, bar)
413 someFunctionCall(bar);
417 function testFunction(foo, bar)
419 someFunctionCall(bar);
423 function testFunction(foo, bar)
425 someFunctionCall(bar);
428 function testFunction(foo, bar)
430 someFunctionCall(bar);
433 function testFunction(foo, bar)
435 someFunctionCall(bar);
438 function testFunction(foo, bar)
440 someFunctionCall(bar);
443 function testFunction(foo, bar)
445 someFunctionCall(bar);
448 function testFunction(foo, bar)
450 someFunctionCall(bar);
453 function testFunction(foo, bar)
455 someFunctionCall(bar);
458 function testFunction(foo, bar)
460 someFunctionCall(bar);<<
462 function testFunction(foo, bar)
464 someFunctionCall(bar<<
466 function testFunction(foo, bar)
470 function testFunction(foo, bar)
474 function testFunction(foo, bar)
478 function testFunction(foo, bar)
482 function testFunction(foo, bar)
485 function testFunction(foo, bar)
488 function testFunction(foo, bar)<<
490 function testFunction(foo, bar<<
492 function testFunction(foo, <<
494 function testFunction(foo<<
496 function testFunction(<<
498 function testFunction<<
504 Running: testAltRight
505 ====== CAMEL CASE MOVEMENTS ======
506 |function testMyCamelMove(foo, bar)
507 function| testMyCamelMove(foo, bar)
508 function test|MyCamelMove(foo, bar)
509 function testMy|CamelMove(foo, bar)
510 function testMyCamel|Move(foo, bar)
511 function testMyCamelMove|(foo, bar)
512 function testMyCamelMove(|foo, bar)
513 function testMyCamelMove(foo|, bar)
514 function testMyCamelMove(foo,| bar)
515 function testMyCamelMove(foo, bar|)
516 function testMyCamelMove(foo, bar)|
519 | /* HelloWorld.TestSTRIng */
520 /*| HelloWorld.TestSTRIng */
521 /* Hello|World.TestSTRIng */
522 /* HelloWorld|.TestSTRIng */
523 /* HelloWorld.|TestSTRIng */
524 /* HelloWorld.Test|STRIng */
525 /* HelloWorld.TestSTR|Ing */
526 /* HelloWorld.TestSTRIng| */
527 /* HelloWorld.TestSTRIng */|
561 /* HelloWorld.TestSTRIng */|
562 /* HelloWorld.TestSTRIng |*/
563 /* HelloWorld.TestSTR|Ing */
564 /* HelloWorld.Test|STRIng */
565 /* HelloWorld.|TestSTRIng */
566 /* HelloWorld|.TestSTRIng */
567 /* Hello|World.TestSTRIng */
568 /* |HelloWorld.TestSTRIng */
569 |/* HelloWorld.TestSTRIng */
570 | /* HelloWorld.TestSTRIng */
573 function testMyCamelMove(foo, bar)|
574 function testMyCamelMove(foo, bar|)
575 function testMyCamelMove(foo, |bar)
576 function testMyCamelMove(foo|, bar)
577 function testMyCamelMove(|foo, bar)
578 function testMyCamelMove|(foo, bar)
579 function testMyCamel|Move(foo, bar)
580 function testMy|CamelMove(foo, bar)
581 function test|MyCamelMove(foo, bar)
582 function |testMyCamelMove(foo, bar)
583 |function testMyCamelMove(foo, bar)
584 |function testMyCamelMove(foo, bar)
586 Running: testAltShiftRight
587 |function testMyCamelMove(foo, bar)
591 >>function testMyCamel<<
592 >>function testMyCamelMove<<
593 >>function testMyCamelMove(<<
594 >>function testMyCamelMove(foo<<
595 >>function testMyCamelMove(foo,<<
596 >>function testMyCamelMove(foo, bar<<
597 >>function testMyCamelMove(foo, bar)<<
598 >>function testMyCamelMove(foo, bar)
600 >>function testMyCamelMove(foo, bar)
602 >>function testMyCamelMove(foo, bar)
605 >>function testMyCamelMove(foo, bar)
608 >>function testMyCamelMove(foo, bar)
611 >>function testMyCamelMove(foo, bar)
614 >>function testMyCamelMove(foo, bar)
617 >>function testMyCamelMove(foo, bar)
620 >>function testMyCamelMove(foo, bar)
622 /* HelloWorld.TestSTR<<
623 >>function testMyCamelMove(foo, bar)
625 /* HelloWorld.TestSTRIng<<
626 >>function testMyCamelMove(foo, bar)
628 /* HelloWorld.TestSTRIng */<<
629 >>function testMyCamelMove(foo, bar)
631 /* HelloWorld.TestSTRIng */
633 >>function testMyCamelMove(foo, bar)
635 /* HelloWorld.TestSTRIng */
637 >>function testMyCamelMove(foo, bar)
639 /* HelloWorld.TestSTRIng */
642 >>function testMyCamelMove(foo, bar)
644 /* HelloWorld.TestSTRIng */
647 >>function testMyCamelMove(foo, bar)
649 /* HelloWorld.TestSTRIng */
652 >>function testMyCamelMove(foo, bar)
654 /* HelloWorld.TestSTRIng */
657 >>function testMyCamelMove(foo, bar)
659 /* HelloWorld.TestSTRIng */
662 >>function testMyCamelMove(foo, bar)
664 /* HelloWorld.TestSTRIng */
667 >>function testMyCamelMove(foo, bar)
669 /* HelloWorld.TestSTRIng */
672 >>function testMyCamelMove(foo, bar)
674 /* HelloWorld.TestSTRIng */
677 >>function testMyCamelMove(foo, bar)
679 /* HelloWorld.TestSTRIng */
682 >>function testMyCamelMove(foo, bar)
684 /* HelloWorld.TestSTRIng */
688 >>function testMyCamelMove(foo, bar)
690 /* HelloWorld.TestSTRIng */
694 >>function testMyCamelMove(foo, bar)
696 /* HelloWorld.TestSTRIng */
701 >>function testMyCamelMove(foo, bar)
703 /* HelloWorld.TestSTRIng */
708 >>function testMyCamelMove(foo, bar)
710 /* HelloWorld.TestSTRIng */
716 Running: testAltShiftLeft
788 >>World.TestSTRIng */
793 >>HelloWorld.TestSTRIng */
798 >>/* HelloWorld.TestSTRIng */
803 >> /* HelloWorld.TestSTRIng */
809 /* HelloWorld.TestSTRIng */
815 /* HelloWorld.TestSTRIng */
822 /* HelloWorld.TestSTRIng */
829 /* HelloWorld.TestSTRIng */
836 /* HelloWorld.TestSTRIng */
843 /* HelloWorld.TestSTRIng */
850 /* HelloWorld.TestSTRIng */
857 /* HelloWorld.TestSTRIng */
864 /* HelloWorld.TestSTRIng */
869 >>CamelMove(foo, bar)
871 /* HelloWorld.TestSTRIng */
876 >>MyCamelMove(foo, bar)
878 /* HelloWorld.TestSTRIng */
883 >>testMyCamelMove(foo, bar)
885 /* HelloWorld.TestSTRIng */
890 >>function testMyCamelMove(foo, bar)
892 /* HelloWorld.TestSTRIng */
897 >>function testMyCamelMove(foo, bar)
899 /* HelloWorld.TestSTRIng */