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

Side by Side Diff: tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.textmate

Issue 10831139: Added support for Added support for keywords 'implements', 'extends', 'factory', and 'String' in th… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/utils/textmate/Dart.tmbundle/Syntaxes/Dart.tmLanguage » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { scopeName = 'source.dart'; 1 { scopeName = 'source.dart';
2 fileTypes = ( 'dart' ); 2 fileTypes = ( 'dart' );
3 foldingStartMarker = '\{\s*$'; 3 foldingStartMarker = '\{\s*$';
4 foldingStopMarker = '^\s*\}'; 4 foldingStopMarker = '^\s*\}';
5 patterns = ( 5 patterns = (
6 { name = 'meta.preprocessor.script.dart'; 6 { name = 'meta.preprocessor.script.dart';
7 match = '^(#!.*)$'; 7 match = '^(#!.*)$';
8 }, 8 },
9 { name = 'meta.declaration.dart'; 9 { name = 'meta.declaration.dart';
10 begin = '#\b(library|import|source|resource)\b'; 10 begin = '#\b(library|import|source|resource)\b';
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 { name = 'keyword.operator.arithmetic.dart '; 99 { name = 'keyword.operator.arithmetic.dart ';
100 match = '(\-|\+|\*|\/|\~\/|%)'; 100 match = '(\-|\+|\*|\/|\~\/|%)';
101 }, 101 },
102 { name = 'keyword.operator.logical.dart'; 102 { name = 'keyword.operator.logical.dart';
103 match = '(!|&&|\|\|)'; 103 match = '(!|&&|\|\|)';
104 }, 104 },
105 { name = 'punctuation.terminator.dart'; 105 { name = 'punctuation.terminator.dart';
106 match = ';'; 106 match = ';';
107 }, 107 },
108 { name = 'storage.modifier.dart'; 108 { name = 'storage.modifier.dart';
109 » » » » » match = '\b(static|final|native|abstract |const|class|interface|get|set|operator|external)\b'; 109 » » » » » match = '\b(static|final|native|abstract |const|class|interface|get|set|operator|external|implements|extends|factory)\b';
110 }, 110 },
111 { name = 'storage.type.primitive.dart'; 111 { name = 'storage.type.primitive.dart';
112 » » » » » match = '\b(?:void|bool|num|int|double|D ynamic|var)\b'; 112 » » » » » match = '\b(?:void|bool|num|int|double|D ynamic|var|String)\b';
113 }, 113 },
114 ); 114 );
115 }; 115 };
116 string-interp = { 116 string-interp = {
117 patterns = ( 117 patterns = (
118 { match = '\$((\w+)|\{(\w+)\})'; 118 { match = '\$((\w+)|\{(\w+)\})';
119 captures = { 119 captures = {
120 2 = { name = 'variable.parameter .dart'; }; 120 2 = { name = 'variable.parameter .dart'; };
121 3 = { name = 'variable.parameter .dart'; }; 121 3 = { name = 'variable.parameter .dart'; };
122 }; 122 };
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 patterns = ( 172 patterns = (
173 { name = 'invalid.string.n ewline'; 173 { name = 'invalid.string.n ewline';
174 match = '\n'; 174 match = '\n';
175 }, 175 },
176 ); 176 );
177 }, 177 },
178 ); 178 );
179 }; 179 };
180 }; 180 };
181 } 181 }
OLDNEW
« 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