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

Unified Diff: example/format.dart

Issue 834353002: camelCase constants. Down with ALL_CAPS! (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | lib/src/chunk.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 4688bcffe77c484e29f849b590960bdcdd8d7fb5..b84924e66072091a511f41a043e4f1823ea8ca13 100644
--- a/example/format.dart
+++ b/example/format.dart
@@ -32,7 +32,8 @@ void runFormatter(String source, int pageWidth, {bool isCompilationUnit}) {
}
if (useAnsiColors) {
- result = result.replaceAll(" ", "\u001b[1;30m·\u001b[0m");
+ result = result.replaceAll(
+ " ", "${Color.gray}$unicodeMidDot${Color.none}");
pquitslund 2015/01/06 19:36:25 Nice.
}
drawRuler("before", pageWidth);
« no previous file with comments | « no previous file | lib/src/chunk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698