Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java |
diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java |
index 9d81f02692543c283e19debec9316f14e8d42cdb..066804372e4031f8b5b0f98a1776d14d6aa6ae82 100644 |
--- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java |
+++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java |
@@ -15,6 +15,7 @@ package com.google.dart.tools.ui.internal.text.editor; |
import com.google.dart.compiler.ast.ASTVisitor; |
import com.google.dart.compiler.ast.DartClass; |
+import com.google.dart.compiler.ast.DartClassTypeAlias; |
import com.google.dart.compiler.ast.DartComment; |
import com.google.dart.compiler.ast.DartDoubleLiteral; |
import com.google.dart.compiler.ast.DartExportDirective; |
@@ -80,6 +81,12 @@ public class SemanticHighlightingReconciler implements IDartReconcilingListener, |
} |
@Override |
+ public Void visitClassTypeAlias(DartClassTypeAlias node) { |
+ processNode(token, node); |
+ return super.visitClassTypeAlias(node); |
+ } |
+ |
+ @Override |
public Void visitComment(DartComment node) { |
// don't change highlighting in comments |
return null; |