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

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

Issue 402433007: DevTools: [CodeMirror] remove auto-inserted whitespaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline inspector/editor/text-editor-formatter.html 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 text editor javascript formatting. 1 This test checks text editor javascript formatting.
2 2
3 /** 3 /**
4 * Multi-line comment 4 * Multi-line comment
5 * 5 *
6 */ 6 */
7 function foo(n) { 7 function foo(n) {
8 // one-line comment 8 // one-line comment
9 function bar() { 9 function bar() {
10 return 42;D 10 return 42;D
(...skipping 10 matching lines...) Expand all
21 ============ editor contents start ============ 21 ============ editor contents start ============
22 /** 22 /**
23 *.Multi-line.comment 23 *.Multi-line.comment
24 * 24 *
25 */ 25 */
26 function.foo(n).{ 26 function.foo(n).{
27 ....//.one-line.comment 27 ....//.one-line.comment
28 ....function.bar().{ 28 ....function.bar().{
29 ........return.42; 29 ........return.42;
30 ....} 30 ....}
31 .... 31
32 ....var.sum.=.0; 32 ....var.sum.=.0;
33 ....for.(var.i.=.0;.i.<.n;.++i).{ 33 ....for.(var.i.=.0;.i.<.n;.++i).{
34 ........for.(var.j.=.0;.j.<.n;.++j).{ 34 ........for.(var.j.=.0;.j.<.n;.++j).{
35 ............sum.+=.i.+.j; 35 ............sum.+=.i.+.j;
36 ........} 36 ........}
37 ....} 37 ....}
38 .... 38
39 .... 39
40 ....if.(sum.>.1000).{ 40 ....if.(sum.>.1000).{
41 ........while.(sum.>.0).{ 41 ........while.(sum.>.0).{
42 ............--sum; 42 ............--sum;
43 ........} 43 ........}
44 ....} 44 ....}
45 } 45 }
46 46
47 ============ editor contents end ============ 47 ============ editor contents end ============
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698