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

Side by Side Diff: packages/dart_style/test/selections/selections.unit

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
(Empty)
1 40 columns |
2 >>> inside script tag
3 #!scr‹ip›t
4 <<<
5 #!scr‹ip›t
6 >>> select entire file
7 ‹main( ) {
8 body( ) ;}›
9 <<<
10 ‹main() {
11 body();
12 }›
13 >>> trailing comment
14 ma‹in() {}
15 // com›ment
16 <<<
17 ma‹in() {}
18 // com›ment
19 >>> in discarded whitespace
20 foo( ‹ argument){ › }
21 <<<
22 foo(‹argument) {›}
23 >>> in zero split whitespace
24 main(){veryLongMethodCall(‹veryLongArgumentName);
25 veryLongMethodCall(›veryLongArgumentName);
26 }
27 <<<
28 main() {
29 veryLongMethodCall(
30 ‹veryLongArgumentName);
31 veryLongMethodCall(›
32 veryLongArgumentName);
33 }
34 >>> in soft space split whitespace
35 main() {shortCall(argument, ‹ argument);
36 shortCall(argument, › argument);
37 }
38 <<<
39 main() {
40 shortCall(argument, ‹argument);
41 shortCall(argument,› argument);
42 }
43 >>> in hard split whitespace
44 foo() {body; ‹ }
45 bar() {body; › }
46 <<<
47 foo() {
48 body;
49 ‹}
50
51 bar() {
52 body;›
53 }
54 >>> across lines that get split separately
55 foo() {
56
57
58 fir‹st();
59 }
60
61 bar() {sec›ond();}
62 <<<
63 foo() {
64 fir‹st();
65 }
66
67 bar() {
68 sec›ond();
69 }
70 >>> only whitespace in newline selected
71 foo() {} ‹ › bar() {}
72 <<<
73 foo() {}
74 ‹›bar() {}
75 >>> only whitespace in double newline selected
76 class Foo {}
77
78 ‹ ›
79
80 class Bar {}
81 <<<
82 class Foo {}
83
84 ‹›class Bar {}
OLDNEW
« no previous file with comments | « packages/dart_style/test/selections/selections.stmt ('k') | packages/dart_style/test/source_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698