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

Side by Side Diff: packages/source_maps/lib/refactor.dart

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
« no previous file with comments | « packages/source_maps/lib/printer.dart ('k') | packages/source_maps/lib/source_maps.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Tools to help implement refactoring like transformations to Dart code. 5 /// Tools to help implement refactoring like transformations to Dart code.
6 /// 6 ///
7 /// [TextEditTransaction] supports making a series of changes to a text buffer. 7 /// [TextEditTransaction] supports making a series of changes to a text buffer.
8 /// [guessIndent] helps to guess the appropriate indentiation for the new code. 8 /// [guessIndent] helps to guess the appropriate indentiation for the new code.
9 library source_maps.refactor; 9 library source_maps.refactor;
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 } 125 }
126 126
127 return code.substring(lineStart, whitespaceEnd); 127 return code.substring(lineStart, whitespaceEnd);
128 } 128 }
129 129
130 const int _CR = 13; 130 const int _CR = 13;
131 const int _LF = 10; 131 const int _LF = 10;
132 const int _TAB = 9; 132 const int _TAB = 9;
133 const int _SPACE = 32; 133 const int _SPACE = 32;
OLDNEW
« no previous file with comments | « packages/source_maps/lib/printer.dart ('k') | packages/source_maps/lib/source_maps.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698