| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java
|
| index 35791702e33032bfebb7498e22c9cf458c0c2668..63802cc9cf1c617dd50b909fabb0c87fbb3498b7 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightings.java
|
| @@ -18,6 +18,7 @@ import com.google.common.collect.Lists;
|
| import com.google.dart.compiler.ast.DartBinaryExpression;
|
| import com.google.dart.compiler.ast.DartCatchBlock;
|
| import com.google.dart.compiler.ast.DartClass;
|
| +import com.google.dart.compiler.ast.DartClassTypeAlias;
|
| import com.google.dart.compiler.ast.DartDoubleLiteral;
|
| import com.google.dart.compiler.ast.DartExportDirective;
|
| import com.google.dart.compiler.ast.DartField;
|
| @@ -93,7 +94,7 @@ public class SemanticHighlightings {
|
| // prepare DartNode
|
| DartNode node = token.getNode();
|
| // typedef
|
| - if (node instanceof DartFunctionTypeAlias) {
|
| + if (node instanceof DartFunctionTypeAlias || node instanceof DartClassTypeAlias) {
|
| addStartPosition(token, "typedef");
|
| }
|
| // as
|
|
|