rem: var theLabel = getBuffer(n).value.substring(0, 4096); 
add:   var theLabel = nudge(getBuffer(n).value.substring(0, 4096)); 
context: function getLabel(n) {    // get the label text for a buffer:    var theNode = document.createElement('div');    var theNum = null;    var linkAction = "javascript:refreshBufferList(" + n + ")";    if (g_cq_buffer_current != n) {        // provide a link to load the buffer        theNum = document.createElement('a');        theNum.setAttribute('href', linkAction);    } else {        // show the current index in bold, with no link        debug("getLabel: " + n + ", " + g_cq_buffer_current);        theNum = document.createElement('b');    }    theNum.appendChild(document.createTextNode("" + (1+n) + "."));    theNode.appendChild(theNum);    // make sure it doesn't break for huge strings    // let the css handle text that's too large for the buffer    var theLabel = getBuffer(n).value.substring(0, 4096);    // put a space here for formatting, so it won't be inside the link    theNode.appendChild(document.createTextNode(" " + theLabel));    // highlight the current buffer    var className = 'bufferlabel';    if (g_cq_buffer_current == n) {        className = 'bufferlabelactive';    }    // IE6 doesn't like setAttribute here, but gecko accepts it    theNode.className = className;    // TODO mouseover for fully formatted text contents as tooltip    // doing it this way is too ugly    //theNode.setAttribute("onmouseover", 'this.style.height = "auto";');    //theNode.setAttribute("onmouseout", 'this.style.height = "";');    // make the whole thing active    theNode.setAttribute('onclick', linkAction);    return theNode;} // getLabel
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/e9e0c41d98459297114cf8e4230419bde34d9db4/cq.js/buggy/cq.js