diff --git a/scm-webapp/src/main/webapp/resources/syntaxhighlighter/scripts/shBrushJava.js b/scm-webapp/src/main/webapp/resources/syntaxhighlighter/scripts/shBrushJava.js index d692fd6382..1fb39cfa3a 100644 --- a/scm-webapp/src/main/webapp/resources/syntaxhighlighter/scripts/shBrushJava.js +++ b/scm-webapp/src/main/webapp/resources/syntaxhighlighter/scripts/shBrushJava.js @@ -1,19 +1,3 @@ -/** - * SyntaxHighlighter - * http://alexgorbatchev.com/SyntaxHighlighter - * - * SyntaxHighlighter is donationware. If you are using it, please donate. - * http://alexgorbatchev.com/SyntaxHighlighter/donate.html - * - * @version - * 3.0.83 (July 02 2010) - * - * @copyright - * Copyright (C) 2004-2010 Alex Gorbatchev. - * - * @license - * Dual licensed under the MIT and GPL licenses. - */ ;(function() { // CommonJS @@ -31,8 +15,8 @@ this.regexList = [ { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments - { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments - { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments + { regex: /\/\*\*?[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments + { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers