rem: var groupList = gSubscribeTree.selectedItems; for (var i=0;i<groupList.length;i++) { var group = groupList[i]; var name = group.getAttribute('name'); SetState(name,state); } 
add: if (InSearchMode()) {    var outlinerSelection = gSearchView.selection; for (var i=0;i<outlinerSelection.getRangeCount();i++) { var start = new Object; var end = new Object; outlinerSelection.getRangeAt(i,start,end); for (var k=start.value;k<=end.value;k++) { var name = gSearchView.getCellText(k,"nameCol");    SetState(escape(name),state); } }  InvalidateSearchOutliner(); } else {  var groupList = gSubscribeTree.selectedItems; for (var i=0;i<groupList.length;i++) { var group = groupList[i]; var name = group.getAttribute('name'); SetState(name,state); } } 
context: function SetSubscribeState(state){  try {	var groupList = gSubscribeTree.selectedItems;	for (var i=0;i<groupList.length;i++) {		var group = groupList[i];		var name = group.getAttribute('name');		SetState(name,state);	}  }  catch (ex) {	//dump("SetSubscribedState failed:  " + ex + "\n");  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5a43b8700a05b9ebde3bc7def3d22bff9b3a16e3/subscribe.js/clean/mailnews/base/resources/content/subscribe.js