Truly improve syntax highlighting for JS, CSS, XML/HTML

This commit is contained in:
Garen Torikian 2012-03-31 23:56:47 -07:00
commit 175f3ea06c
25 changed files with 221 additions and 45 deletions

View file

@ -60,7 +60,7 @@
%invisible%
}
.%cssClass% .ace_keyword {
.%cssClass% .ace_keyword, .%cssClass% .ace_meta {
%keyword%
}
@ -68,7 +68,7 @@
%keyword.operator%
}
.%cssClass% .ace_constant {
.%cssClass% .ace_constant, .%cssClass% .ace_constant.ace_other {
%constant%
}
@ -84,6 +84,10 @@
%constant.numeric%
}
.%cssClass% .ace_constant.ace_other {
%constant.other%
}
.%cssClass% .ace_invalid {
%invalid%
}
@ -100,6 +104,10 @@
%support%
}
.%cssClass% .ace_support.ace_constant {
%support.constant%
}
.%cssClass% .ace_fold {
background-color: %fold%;
border-color: %foreground%;
@ -113,10 +121,14 @@
%storage%
}
.%cssClass% .ace_storage.ace_type {
.%cssClass% .ace_storage.ace_type, .%cssClass% .ace_support.ace_type{
%storage.type%
}
.%cssClass% .ace_variable {
%entity.name.function%
}
.%cssClass% .ace_variable.ace_parameter {
%variable.parameter%
}

View file

@ -63,12 +63,14 @@ var supportedScopes = {
"constant.library": "constant.library",
"constant.numeric": "constant.numeric",
"constant.character.escape" : "constant.character.escape",
"constant.other" : "constant.other",
"support": "support",
"support.function": "support.function",
"support.function.dom": "support.function.dom",
"support.function.firebug": "support.firebug",
"support.function.constant": "support.function.constant",
"support.constant": "support.constant",
"function": "function",
"function.buildin": "function.buildin",