context:     search: function(text, visit)    {        if (!text)        {            delete this.currentSearch;            this.highlightRow(null);            return false;        }                if (visit && this.currentSearch && this.currentSearch.currentNode)        {            Firebug.Search.clear(this.context);            this.selectRow(this.currentSearch.currentNode);            delete this.currentSearch;            return true;        }        else        {            var row;            if (this.currentSearch && text == this.currentSearch.text)                row = this.currentSearch.findNext(true);            else            {                function findRow(node) { return getAncestorByClass(node, "memberRow"); }                this.currentSearch = new TextSearch(this.panelNode, findRow);                row = this.currentSearch.find(text);            }            if (row)            {                if (visit)                {                    Firebug.Search.clear(this.context);                    this.selectRow(row);                    delete this.currentSearch;                }                else                {                    var sel = this.document.defaultView.getSelection();                    sel.removeAllRanges();                    sel.addRange(this.currentSearch.range);                    scrollIntoCenterView(row, this.panelNode);                                        this.highlightRow(row);                }                return true;            }            else                return false;        }    }    
meta: 7450	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7450/e1d42ad3fad63b72826a4e2ed0726866484c9ac3/dom.js/buggy/extension/content/firebug/dom.js