doc comment mode: added TODO

This commit is contained in:
André Fiedler 2010-12-20 03:18:25 +08:00 • committed by Fabian Jakobs
commit c01b99180a
2 changed files with 6 additions and 3 deletions

View file

@ -49,10 +49,13 @@ var DocCommentHighlightRules = function() {
next : "start" next : "start"
}, { }, {
token : "comment.doc.tag", token : "comment.doc.tag",
regex : "@[\\w\\d_]+" regex : "@[\\w\\d_]+" // TODO: fix email addresses
}, { }, {
token : "comment.doc", token : "comment.doc",
regex : "\s+" regex : "\s+"
}, {
token : "comment.doc",
regex : "TODO"
}, { }, {
token : "comment.doc", token : "comment.doc",
regex : "[^@\\*]+" regex : "[^@\\*]+"

View file

@ -172,11 +172,11 @@ color:#D2A8A1;\
}\ }\
\ \
.ace-pastel-on-dark .ace_comment.ace_doc {\ .ace-pastel-on-dark .ace_comment.ace_doc {\
\ color:A6C6FF;\
}\ }\
\ \
.ace-pastel-on-dark .ace_comment.ace_doc.ace_tag {\ .ace-pastel-on-dark .ace_comment.ace_doc.ace_tag {\
\ color:A6C6FF;\
}\ }\
\ \
.ace-pastel-on-dark .ace_variable {\ .ace-pastel-on-dark .ace_variable {\