From 495ea8f46bcf0b40ba5b86ca61f647e475b4cf47 Mon Sep 17 00:00:00 2001 From: Nate Lillich Date: Sat, 18 Jun 2011 12:09:42 -0700 Subject: [PATCH] Fix'd comment-doc not working in C/C++ --- lib/ace/mode/c_cpp_highlight_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/mode/c_cpp_highlight_rules.js b/lib/ace/mode/c_cpp_highlight_rules.js index 24e03456..5a30ce24 100644 --- a/lib/ace/mode/c_cpp_highlight_rules.js +++ b/lib/ace/mode/c_cpp_highlight_rules.js @@ -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 : "\\/\\*",