context: this.TextSearch = function(rootNode, rowFinder){    var doc = rootNode.ownerDocument;        var count, searchRange, startPt, endPt;        this.find = function(text)    {        this.text = text;                var range = this.range = finder.Find(text, searchRange, startPt, endPt);        var match = range ?  range.startContainer : null;        return this.currentNode = (rowFinder && match ? rowFinder(match) : match);    };        this.findNext = function(wrapAround, sameNode)    {        startPt = doc.createRange();        startPt.setStartAfter(this.currentNode ? this.currentNode : rootNode);                var match = this.find(this.text);        if (!match && wrapAround)        {            this.reset();            return this.find(this.text);        }                return match;    };    this.reset = function()    {        count = rootNode.childNodes.length;        searchRange = doc.createRange();        searchRange.setStart(rootNode, 0);        searchRange.setEnd(rootNode, count);        startPt = doc.createRange();        startPt.setStart(rootNode, 0);        startPt.setEnd(rootNode, 0);        endPt = doc.createRange();        endPt.setStart(rootNode, count);        endPt.setEnd(rootNode, count);    };        this.reset();};
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/8237a6359bebacf3e34f1134ef713c687c8e3edb/lib.js/clean/extension/content/firebug/lib.js