rem: var text = elem.getAttribute("copybuffer"); if (text) gClipboardHelper.copyString(text); 
add: var count = selection.getRangeCount();  for (var i = 0; i < count; i++) { selection.getRangeAt(i, min, max);  for (var row = min.value; row <= max.value; row++) { view.performActionOnRow("copy", row);  tmp = elem.getAttribute("copybuffer"); if (tmp) text.push(tmp); elem.removeAttribute("copybuffer"); } } gClipboardHelper.copyString(text.join("\n")); } 
context: function doCopy(event){  if (!gClipboardHelper)     return;  var elem = event.originalTarget;  if (elem && "treeBoxObject" in elem)    elem.treeBoxObject.view.performActionOnRow("copy", elem.currentIndex);  var text = elem.getAttribute("copybuffer");  if (text)     gClipboardHelper.copyString(text);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1b4c9c32872321490762b0cb9bb09a9955770f65/pageInfo.js/buggy/suite/browser/pageInfo.js