rem: var elementCreator = new searchwp.highlighting.DefaultElementCreator("layer", {class: styleClassName}); count += self.highlighter.highlight(document, rangeMatches[n].node, rangeMatches[n].match, matchCase, elementCreator); 
add: count += self.highlighter.highlight(document, node, match, matchCase, elementCreator); 
context:   function highlightBrowserWindow(word, styleClassName, matchCase, win) {    var count = 0;    if (!win) {      win = window._content;    }    for (var i = 0; win.frames && i < win.frames.length; i++) {      count += highlightBrowserWindow(word, styleClassName, matchCase, win.frames[i]);    }    var document = win.document;    if (!document || document && !("body" in document)) {      return count;    }    if (!styleClassName || !word) {      self.highlighter.clear(document);      return count;    }    // Characters remaining are then escaped so that the regexp does not use    // wildcards or return unexpected matches.    // Escape some RegExp characters    var criteria = word.replace(/\s*/, "");    criteria = criteria.replace(/\W/g, "\\W*");    //var matcher = new SoundexMatcher(criteria);    var matcher = new searchwp.highlighting.RegexMatcher(criteria, matchCase);    var rangeMatches = self.searcher.search(document, matcher);    /* highlight the matches */    for (var n in rangeMatches) {      if (!rangeMatches[n].overlaps) {        var elementCreator = new searchwp.highlighting.DefaultElementCreator("layer", {class: styleClassName});        count += self.highlighter.highlight(document, rangeMatches[n].node, rangeMatches[n].match, matchCase, elementCreator);      }    }    return count;  }
meta: 2588	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2588/f175973a24c874662aecffa7e17cab869338a5dc/highlighting.js/buggy/src/chrome/content/highlighting.js