Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Side by Side Diff: LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt

Issue 357483007: DevTools: [CodeMirror] add support for camel case movements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use nice naming for shift-movement Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks how text editor handles different ctrl-based movements, i.e. ct rl-left, ctrl-right, ctrl-shift-left, ctrl-backspace. 1 This test checks how text editor handles different movements: ctrl-left, ctrl-ri ght, ctrl-shift-left, ctrl-backspace, alt-left, alt-right, alt-shift-left, alt-s hift-right.
2 2
3 function testFunction(foo, bar) 3 function testFunction(foo, bar)
4 { 4 {
5 someFunctionCall(bar); 5 someFunctionCall(bar);
6 var b = 42; 6 var b = 42;
7 return a === 1 ? true : false; 7 return a === 1 ? true : false;
8 } 8 }
9 9
10 Running: testCtrlRightArrow 10 Running: testCtrlRightArrow
11 |function testFunction(foo, bar) 11 |function testFunction(foo, bar)
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 function testFunction(foo<< 494 function testFunction(foo<<
495 =============== 495 ===============
496 function testFunction(<< 496 function testFunction(<<
497 =============== 497 ===============
498 function testFunction<< 498 function testFunction<<
499 =============== 499 ===============
500 function << 500 function <<
501 =============== 501 ===============
502 << 502 <<
503 503
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)|
517 |{
518 {|
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 */|
528 |
529 |
530 | var a = e === 2;
531 var| a = e === 2;
532 var a| = e === 2;
533 var a =| e === 2;
534 var a = e| === 2;
535 var a = e ===| 2;
536 var a = e === 2|;
537 var a = e === 2;|
538 var a = e === 2; |
539 |{}
540 {}|
541 |}
542 }|
543 }|
544
545 Running: testAltLeft
546 }|
547 |}
548 {}|
549 |{}
550 var a = e === 2; |
551 var a = e === 2|;
552 var a = e === |2;
553 var a = e |=== 2;
554 var a = |e === 2;
555 var a |= e === 2;
556 var |a = e === 2;
557 |var a = e === 2;
558 | var a = e === 2;
559 |
560 |
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 */
571 {|
572 |{
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)
585
586 Running: testAltShiftRight
587 |function testMyCamelMove(foo, bar)
588 >>function<<
589 >>function test<<
590 >>function testMy<<
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)
599 <<
600 >>function testMyCamelMove(foo, bar)
601 {<<
602 >>function testMyCamelMove(foo, bar)
603 {
604 <<
605 >>function testMyCamelMove(foo, bar)
606 {
607 /*<<
608 >>function testMyCamelMove(foo, bar)
609 {
610 /* Hello<<
611 >>function testMyCamelMove(foo, bar)
612 {
613 /* HelloWorld<<
614 >>function testMyCamelMove(foo, bar)
615 {
616 /* HelloWorld.<<
617 >>function testMyCamelMove(foo, bar)
618 {
619 /* HelloWorld.Test<<
620 >>function testMyCamelMove(foo, bar)
621 {
622 /* HelloWorld.TestSTR<<
623 >>function testMyCamelMove(foo, bar)
624 {
625 /* HelloWorld.TestSTRIng<<
626 >>function testMyCamelMove(foo, bar)
627 {
628 /* HelloWorld.TestSTRIng */<<
629 >>function testMyCamelMove(foo, bar)
630 {
631 /* HelloWorld.TestSTRIng */
632 <<
633 >>function testMyCamelMove(foo, bar)
634 {
635 /* HelloWorld.TestSTRIng */
636 <<
637 >>function testMyCamelMove(foo, bar)
638 {
639 /* HelloWorld.TestSTRIng */
640
641 <<
642 >>function testMyCamelMove(foo, bar)
643 {
644 /* HelloWorld.TestSTRIng */
645
646 var<<
647 >>function testMyCamelMove(foo, bar)
648 {
649 /* HelloWorld.TestSTRIng */
650
651 var a<<
652 >>function testMyCamelMove(foo, bar)
653 {
654 /* HelloWorld.TestSTRIng */
655
656 var a =<<
657 >>function testMyCamelMove(foo, bar)
658 {
659 /* HelloWorld.TestSTRIng */
660
661 var a = e<<
662 >>function testMyCamelMove(foo, bar)
663 {
664 /* HelloWorld.TestSTRIng */
665
666 var a = e ===<<
667 >>function testMyCamelMove(foo, bar)
668 {
669 /* HelloWorld.TestSTRIng */
670
671 var a = e === 2<<
672 >>function testMyCamelMove(foo, bar)
673 {
674 /* HelloWorld.TestSTRIng */
675
676 var a = e === 2;<<
677 >>function testMyCamelMove(foo, bar)
678 {
679 /* HelloWorld.TestSTRIng */
680
681 var a = e === 2; <<
682 >>function testMyCamelMove(foo, bar)
683 {
684 /* HelloWorld.TestSTRIng */
685
686 var a = e === 2;
687 <<
688 >>function testMyCamelMove(foo, bar)
689 {
690 /* HelloWorld.TestSTRIng */
691
692 var a = e === 2;
693 {}<<
694 >>function testMyCamelMove(foo, bar)
695 {
696 /* HelloWorld.TestSTRIng */
697
698 var a = e === 2;
699 {}
700 <<
701 >>function testMyCamelMove(foo, bar)
702 {
703 /* HelloWorld.TestSTRIng */
704
705 var a = e === 2;
706 {}
707 }<<
708 >>function testMyCamelMove(foo, bar)
709 {
710 /* HelloWorld.TestSTRIng */
711
712 var a = e === 2;
713 {}
714 }<<
715
716 Running: testAltShiftLeft
717 }|
718 >>}<<
719 >>
720 }<<
721 >>{}
722 }<<
723 >>
724 {}
725 }<<
726 >>;
727 {}
728 }<<
729 >>2;
730 {}
731 }<<
732 >>=== 2;
733 {}
734 }<<
735 >>e === 2;
736 {}
737 }<<
738 >>= e === 2;
739 {}
740 }<<
741 >>a = e === 2;
742 {}
743 }<<
744 >>var a = e === 2;
745 {}
746 }<<
747 >> var a = e === 2;
748 {}
749 }<<
750 >>
751 var a = e === 2;
752 {}
753 }<<
754 >>
755 var a = e === 2;
756 {}
757 }<<
758 >>
759
760 var a = e === 2;
761 {}
762 }<<
763 >>*/
764
765 var a = e === 2;
766 {}
767 }<<
768 >>Ing */
769
770 var a = e === 2;
771 {}
772 }<<
773 >>STRIng */
774
775 var a = e === 2;
776 {}
777 }<<
778 >>TestSTRIng */
779
780 var a = e === 2;
781 {}
782 }<<
783 >>.TestSTRIng */
784
785 var a = e === 2;
786 {}
787 }<<
788 >>World.TestSTRIng */
789
790 var a = e === 2;
791 {}
792 }<<
793 >>HelloWorld.TestSTRIng */
794
795 var a = e === 2;
796 {}
797 }<<
798 >>/* HelloWorld.TestSTRIng */
799
800 var a = e === 2;
801 {}
802 }<<
803 >> /* HelloWorld.TestSTRIng */
804
805 var a = e === 2;
806 {}
807 }<<
808 >>
809 /* HelloWorld.TestSTRIng */
810
811 var a = e === 2;
812 {}
813 }<<
814 >>{
815 /* HelloWorld.TestSTRIng */
816
817 var a = e === 2;
818 {}
819 }<<
820 >>
821 {
822 /* HelloWorld.TestSTRIng */
823
824 var a = e === 2;
825 {}
826 }<<
827 >>)
828 {
829 /* HelloWorld.TestSTRIng */
830
831 var a = e === 2;
832 {}
833 }<<
834 >>bar)
835 {
836 /* HelloWorld.TestSTRIng */
837
838 var a = e === 2;
839 {}
840 }<<
841 >>, bar)
842 {
843 /* HelloWorld.TestSTRIng */
844
845 var a = e === 2;
846 {}
847 }<<
848 >>foo, bar)
849 {
850 /* HelloWorld.TestSTRIng */
851
852 var a = e === 2;
853 {}
854 }<<
855 >>(foo, bar)
856 {
857 /* HelloWorld.TestSTRIng */
858
859 var a = e === 2;
860 {}
861 }<<
862 >>Move(foo, bar)
863 {
864 /* HelloWorld.TestSTRIng */
865
866 var a = e === 2;
867 {}
868 }<<
869 >>CamelMove(foo, bar)
870 {
871 /* HelloWorld.TestSTRIng */
872
873 var a = e === 2;
874 {}
875 }<<
876 >>MyCamelMove(foo, bar)
877 {
878 /* HelloWorld.TestSTRIng */
879
880 var a = e === 2;
881 {}
882 }<<
883 >>testMyCamelMove(foo, bar)
884 {
885 /* HelloWorld.TestSTRIng */
886
887 var a = e === 2;
888 {}
889 }<<
890 >>function testMyCamelMove(foo, bar)
891 {
892 /* HelloWorld.TestSTRIng */
893
894 var a = e === 2;
895 {}
896 }<<
897 >>function testMyCamelMove(foo, bar)
898 {
899 /* HelloWorld.TestSTRIng */
900
901 var a = e === 2;
902 {}
903 }<<
904
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698