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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java

Issue 923623002: Issue 20050. Show corrections for errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java
index 78129fa9d399b6d5facf5933b964454f5efa6ad7..9b43a69b869fce6aa79d56d3fd36f5d9fa51a696 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager_NEW.java
@@ -126,6 +126,7 @@ public class AnalysisMarkerManager_NEW {
marker.setAttribute(IMarker.CHAR_END, location.getOffset() + location.getLength());
marker.setAttribute(IMarker.LINE_NUMBER, location.getStartLine());
marker.setAttribute(IMarker.MESSAGE, error.getMessage());
+ marker.setAttribute(DartCore.MARKER_ATTR_CORRECTION, error.getCorrection());
if (isHint) {
marker.setAttribute(IMarker.PRIORITY, IMarker.PRIORITY_HIGH);

Powered by Google App Engine
This is Rietveld 408576698