OLD | NEW |
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...) Loading... |
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 } |
OLD | NEW |