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

Unified Diff: pkg/analysis_services/lib/src/correction/source_buffer.dart

Issue 418203002: Implement more fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
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..d1cd401ea89512d56637946f4f0712dc7d8a7180 100644
--- a/pkg/analysis_services/lib/src/correction/source_buffer.dart
+++ b/pkg/analysis_services/lib/src/correction/source_buffer.dart
@@ -35,6 +35,8 @@ class SourceBuilder {
proposals.forEach((proposal) => addProposal(proposal));
}
+ int get length => _buffer.length;
+
/**
* Appends [s] to the buffer.
*/

Powered by Google App Engine
This is Rietveld 408576698