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 fb9e2048e8f312de2e8f50480922a8d6a5df98fc..04b3a2bf1e2b8ae5808fdccd849db721aff58f2a 100644 |
--- a/pkg/analysis_services/lib/src/correction/source_buffer.dart |
+++ b/pkg/analysis_services/lib/src/correction/source_buffer.dart |
@@ -26,6 +26,10 @@ class SourceBuilder { |
SourceBuilder(this.file, this.offset); |
+ SourceBuilder.buffer() : file = null, offset = 0; |
+ |
+ int get length => _buffer.length; |
+ |
void addProposal(String proposal) { |
// TODO(scheglov) implement |
// _currentPositionGroup.addProposal(); |