Chromium Code Reviews

Side by Side Diff: packages/dart_style/lib/src/line_writer.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.
Jump to:
View unified diff |
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library dart_style.src.line_writer; 5 library dart_style.src.line_writer;
6 6
7 import 'chunk.dart'; 7 import 'chunk.dart';
8 import 'dart_formatter.dart'; 8 import 'dart_formatter.dart';
9 import 'debug.dart' as debug; 9 import 'debug.dart' as debug;
10 import 'line_splitting/line_splitter.dart'; 10 import 'line_splitting/line_splitter.dart';
(...skipping 257 matching lines...)
268 final int selectionStart; 268 final int selectionStart;
269 269
270 /// Where in the resulting buffer the selection end point should appear if it 270 /// Where in the resulting buffer the selection end point should appear if it
271 /// was contained within this split list of chunks. 271 /// was contained within this split list of chunks.
272 /// 272 ///
273 /// Otherwise, this is `null`. 273 /// Otherwise, this is `null`.
274 final int selectionEnd; 274 final int selectionEnd;
275 275
276 FormatResult(this.text, this.cost, this.selectionStart, this.selectionEnd); 276 FormatResult(this.text, this.cost, this.selectionStart, this.selectionEnd);
277 } 277 }
OLDNEW
« no previous file with comments | « packages/dart_style/lib/src/line_splitting/solve_state_queue.dart ('k') | packages/dart_style/lib/src/nesting_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine