diff --git a/lib/ace/mode/c9search_highlight_rules.js b/lib/ace/mode/c9search_highlight_rules.js index 0555963a..c16b48c0 100644 --- a/lib/ace/mode/c9search_highlight_rules.js +++ b/lib/ace/mode/c9search_highlight_rules.js @@ -47,13 +47,13 @@ var C9SearchHighlightRules = function() { // regexps are ordered -> the first match is used this.$rules = { "start" : [ + { + token : ["constant.numeric", "text", "text"], + regex : "(^\\s+[0-9]+)(:\\s*)(.+)" + }, { token : ["string", "text"], // single line regex : "(.+)(:$)" - }, - { - token : ["constant.numeric", "text"], - regex : "(^\\s*[0-9]+)(:\\s*)" } ] };