rem: var theLabel = nudge(getBuffer(n).value.substring(0, 4096)); 
add: var theLabel = nudge(getBuffer(n).value.substr(0, 1024)); 
context: function getLabel(n) {    // get the label text for a buffer:    var theNode = document.createElement('div');    var theNum = null;    var linkAction =        "javascript:refreshBufferList(" + n + ", \"getLabel.linkAction\")";    var linkFunction =        function() { refreshBufferList(n, "getLabel.linkFunction") };    var className = 'bufferlabel';    if (g_cq_buffer_current != n) {        // provide a link to load the buffer        theNum = document.createElement('a');        theNum.setAttribute('href', linkAction);        // make the whole node active        theNode.onclick = linkFunction;        // set tooltip        theNode.title = "Click to activate this query buffer.";    } else {        // show the current index in bold, with no link        debug("getLabel: " + n + " == " + g_cq_buffer_current);        theNum = document.createElement('b');        className = 'bufferlabelactive';        // set tooltip        theNode.title = null;    }    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    // we shouldn't have to normalize spaces, but IE6 is broken    // ...and so we have to hint word-breaks to both browsers...    var theLabel = nudge(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    // IE6 doesn't like setAttribute here, but gecko accepts it    theNode.className = className;    // TODO mouseover for fully formatted text contents as tooltip?    return theNode;} // getLabel
meta: 952	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/acaf2f3cc32a6781b1b116b2d37f39fc2d4472e2/cq.js/clean/cq.js