rem: tree.outliner.invalidateRange (rowIndex, 
add: tree.tree.invalidateRange (rowIndex, 
context: function tovr_resort (leafSort){    if (!("childData" in this) || this.childData.length < 1 ||        (this.childData[0].sortCompare == tovr_sortcmp &&         !("sortColumn" in this._share) || this._share.sortDirection == 0))    {        /* if we have no children, or we have the default sort compare and no         * sort flags, then just exit */        return;    }    this.childData.sort(this.childData[0].sortCompare);        for (var i = 0; i < this.childData.length; ++i)    {        this.childData[i].childIndex = i;        if ("isContainerOpen" in this.childData[i] &&            this.childData[i].isContainerOpen)            this.childData[i].resort(true);        else            this.childData[i].sortIsInvalid = true;    }        if (!leafSort)    {        this.invalidateCache();        var tree = this.findContainerTree();        if (tree && tree.outliner)        {            var rowIndex = this.calculateVisualRow();            /*            dd ("invalidating " + rowIndex + " - " +                (rowIndex + this.visualFootprint - 1));            */            tree.outliner.invalidateRange (rowIndex,                                           rowIndex + this.visualFootprint - 1);        }    }    /*    else        dd("not a leafSort");    */    delete this.sortIsInvalid;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/tree-utils.js/clean/extensions/venkman/resources/content/tree-utils.js