rem: dd ("get project context...");  
context: function pv_getcx(cx){    dd ("get project context...");        if (!cx)        cx = new Object();    var selection = this.outliner.selection;    var rec = this.childData.locateChildByVisualRow(selection.currentIndex);        if (!rec)    {        dd ("no current index.");        return cx;    }    cx.target = rec;        if (rec instanceof TOLabelRecord)    {        if (rec.label == MSG_BREAK_REC)            cx.breakpointLabel = true;        return cx;    }    if (rec instanceof BPRecord)    {        cx.breakpointRec = rec;        cx.fileName = rec.fileName;        cx.lineNumber = rec.line;        cx.breakpointIndex = rec.childIndex;    }        var rangeCount = this.outliner.selection.getRangeCount();    if (rangeCount > 0)        cx.breakpointRecList = new Array();        for (var range = 0; range < rangeCount; ++range)    {        var min = new Object();        var max = new Object();        this.outliner.selection.getRangeAt(range, min, max);        for (var i = min; i < max; ++i)        {            rec = this.childData.locateChildByVisualRow(i);            if (rec instanceof BPRecord)                cx.breakpointRecList.push(rec);        }    }    return cx;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/7544d3415d65bb702cb3060dd8ac2a22f009997b/venkman-trees.js/clean/extensions/venkman/resources/content/venkman-trees.js