Address review comments on prior patch (#4270)

I pulled the trigger to land the previous patch too quickly and missed a
number of comments.
This commit is contained in:
Adam Barth
2016-05-30 14:47:49 -07:00
parent 7cf4c694b1
commit 7de84709cf
5 changed files with 50 additions and 34 deletions

View File

@@ -234,7 +234,7 @@ class DartSyntaxHighlighter extends SyntaxHighlighter {
continue;
}
// Metadata
// Meta data
if (_scanner.scan(new RegExp(r"@\w+"))) {
_spans.add(new _HighlightSpan(
_HighlightType.keyword,