(mode, match)
| 217 | } |
| 218 | |
| 219 | function keywordMatch(mode, match) { |
| 220 | var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0] |
| 221 | for (var className in mode.keywordGroups) { |
| 222 | if (!mode.keywordGroups.hasOwnProperty(className)) |
| 223 | continue; |
| 224 | var value = mode.keywordGroups[className].hasOwnProperty(match_str); |
| 225 | if (value) |
| 226 | return [className, value]; |
| 227 | } |
| 228 | return false; |
| 229 | } |
| 230 | |
| 231 | function processKeywords(buffer, mode) { |
| 232 | if (!mode.keywords) |