Update highlighter

This commit is contained in:
Garen Torikian 2012-05-11 15:47:03 -07:00 • committed by nightwing
commit d2163a7016

View file

@ -48,12 +48,12 @@ var C9SearchHighlightRules = function() {
this.$rules = { this.$rules = {
"start" : [ "start" : [
{ {
token : ["string", "text"], // single line token : ["constant.numeric", "text", "text"],
regex : "(.+)(:$)" regex : "(^\\s+[0-9]+)(:\\s*)(.+)"
}, },
{ {
token : ["constant.numeric", "text"], token : ["string", "text"], // single line
regex : "(^\\s*[0-9]+)(:\\s*)" regex : "(.+)(:$)"
} }
] ]
}; };