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 = {
"start" : [
{
token : ["string", "text"], // single line
regex : "(.+)(:$)"
token : ["constant.numeric", "text", "text"],
regex : "(^\\s+[0-9]+)(:\\s*)(.+)"
},
{
token : ["constant.numeric", "text"],
regex : "(^\\s*[0-9]+)(:\\s*)"
token : ["string", "text"], // single line
regex : "(.+)(:$)"
}
]
};