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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager.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.java
diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager.java
index b282a7892c73fa92f2f59854f4fc85008700681d..29db80863bf2af4724eb30793521d1ef8f057c5c 100644
--- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager.java
+++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/builder/AnalysisMarkerManager.java
@@ -133,6 +133,7 @@ public class AnalysisMarkerManager {
marker.setAttribute(IMarker.LINE_NUMBER, lineNum);
marker.setAttribute(ERROR_CODE, encodeErrorCode(errorCode));
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