Merge pull request #308 from CaptainOz/master
Fixed comment docs in C and C++
This commit is contained in:
commit
f28ab84a5e
2 changed files with 3 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ var c_cppHighlightRules = function() {
|
|||
token : "comment",
|
||||
regex : "\\/\\/.*$"
|
||||
},
|
||||
new DocCommentHighlightRules().getStartRule("start"),
|
||||
new DocCommentHighlightRules().getStartRule("doc-start"),
|
||||
{
|
||||
token : "comment", // multi line comment
|
||||
regex : "\\/\\*",
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ var DocCommentHighlightRules = function() {
|
|||
regex : "@[\\w\\d_]+" // TODO: fix email addresses
|
||||
}, {
|
||||
token : "comment.doc",
|
||||
regex : "\s+"
|
||||
regex : "\\s+"
|
||||
}, {
|
||||
token : "comment.doc",
|
||||
regex : "TODO"
|
||||
|
|
@ -80,7 +80,7 @@ oop.inherits(DocCommentHighlightRules, TextHighlightRules);
|
|||
regex : "\\*\\/",
|
||||
next : start
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
}).call(DocCommentHighlightRules.prototype);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue