in the example js: the code like this:
var highlightMatcher = hasHighlights ? function(evt) {
var text = evt.getText();
var description = evt.getDescription();
for (var x = 0; x < regexes.length; x++) {
var regex = regexes[x];
if (regex != null && (regex.test(text) || regex.test(description))) {
return x;
}
}
return -1;
} : null;
which make mes totally confused. what the evt come from.
i really want to know how the hilighting works. is there any more details?
Original issue reported on code.google.com by juana.al...@gmail.com on 24 Aug 2010 at 12:36
Original issue reported on code.google.com by
juana.al...@gmail.com
on 24 Aug 2010 at 12:36