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

Side by Side Diff: sky/sdk/lib/rendering/paragraph.dart

Issue 1199913009: Fix the indenting of the toString() output of the RenderTree, which was broken around RenderParagra… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:sky' as sky; 5 import 'dart:sky' as sky;
6 6
7 import 'box.dart'; 7 import 'box.dart';
8 import 'object.dart'; 8 import 'object.dart';
9 import '../painting/text_style.dart'; 9 import '../painting/text_style.dart';
10 10
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 if (_constraintsForCurrentLayout != constraints && constraints != null) 169 if (_constraintsForCurrentLayout != constraints && constraints != null)
170 _layout(constraints); 170 _layout(constraints);
171 171
172 _layoutRoot.paint(canvas); 172 _layoutRoot.paint(canvas);
173 } 173 }
174 174
175 // we should probably expose a way to do precise (inter-glpyh) hit testing 175 // we should probably expose a way to do precise (inter-glpyh) hit testing
176 176
177 String debugDescribeSettings(String prefix) { 177 String debugDescribeSettings(String prefix) {
178 String result = '${super.debugDescribeSettings(prefix)}'; 178 String result = '${super.debugDescribeSettings(prefix)}';
179 result += '${prefix}inline: ${inline}\n'; 179 result += '${prefix}inline:\n${inline.toString("$prefix ")}\n';
180 return result; 180 return result;
181 } 181 }
182 } 182 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698