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

Unified Diff: example/format.dart

Issue 1355203002: Handle index expressions in the middle of call chains. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Handle chained indexes. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/call_chain_visitor.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/format.dart
diff --git a/example/format.dart b/example/format.dart
index 4eec856e6d1528540f1c9cc48a1625acc52f2074..6d3ea6115eec577ef1871f6611441da026844e15 100644
--- a/example/format.dart
+++ b/example/format.dart
@@ -44,10 +44,6 @@ void runFormatter(String source, int pageWidth, {bool isCompilationUnit}) {
result = formatter.formatStatement(source);
}
- if (debug.useAnsiColors) {
- result = result.replaceAll(" ", debug.gray(debug.unicodeMidDot));
- }
-
drawRuler("before", pageWidth);
print(source);
drawRuler("after", pageWidth);
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/call_chain_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698