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

Unified Diff: tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate

Issue 10831131: Dart textmate bundle updates (support for 'external' and 'as'). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.tmLanguage » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate
===================================================================
--- tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate (revision 10182)
+++ tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate (working copy)
@@ -60,6 +60,9 @@
};
keywords = {
patterns = (
+ { name = 'keyword.cast.dart';
+ match = '\b(as)\b';
Bob Nystrom 2012/08/02 18:00:26 Don't need the parentheses since there's just one
pquitslund 2012/08/02 18:19:06 Right. Fixed!
+ },
{ name = 'keyword.control.catch-exception.dart';
match = '\b(try|catch|finally|throw)\b';
},
@@ -103,7 +106,7 @@
match = ';';
},
{ name = 'storage.modifier.dart';
- match = '\b(static|final|native|abstract|const|class|interface)\b';
+ match = '\b(static|final|native|abstract|const|class|interface|get|set|operator|external)\b';
Bob Nystrom 2012/08/02 18:00:26 Should "patch" go in here too?
pquitslund 2012/08/02 18:19:06 Hmmm... I think that's a dartp-ism and I'm not wi
},
{ name = 'storage.type.primitive.dart';
match = '\b(?:void|bool|num|int|double|Dynamic|var)\b';
« no previous file with comments | « no previous file | tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.tmLanguage » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698