| Index: pkg/analysis_services/lib/src/correction/source_buffer.dart
|
| diff --git a/pkg/analysis_services/lib/src/correction/source_buffer.dart b/pkg/analysis_services/lib/src/correction/source_buffer.dart
|
| index 04b3a2bf1e2b8ae5808fdccd849db721aff58f2a..48a030d3adf62bd57626637a94986f8de3ee9c71 100644
|
| --- a/pkg/analysis_services/lib/src/correction/source_buffer.dart
|
| +++ b/pkg/analysis_services/lib/src/correction/source_buffer.dart
|
| @@ -31,8 +31,7 @@ class SourceBuilder {
|
| int get length => _buffer.length;
|
|
|
| void addProposal(String proposal) {
|
| - // TODO(scheglov) implement
|
| -// _currentPositionGroup.addProposal();
|
| + _currentLinkedPositionGroup.addProposal(proposal);
|
| }
|
|
|
| void addProposals(List<String> proposals) {
|
| @@ -84,6 +83,6 @@ class SourceBuilder {
|
| int start = offset + _currentPositionStart;
|
| int end = offset + _buffer.length;
|
| Position position = new Position(file, start, end - start);
|
| - _currentLinkedPositionGroup.add(position);
|
| + _currentLinkedPositionGroup.addPosition(position);
|
| }
|
| }
|
|
|