rem: { isupports = termsArray.GetElementAt(i); searchTerm = isupports.QueryInterface(Components.interfaces.nsIMsgSearchTerm); gSearchSession.appendTerm(searchTerm); }  
add: gSearchSession.appendTerm(termsArray.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgSearchTerm)); 
context: function createSearchTermsWithList(aTermsArray){  var nsMsgSearchScope = Components.interfaces.nsMsgSearchScope;  var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;  var nsMsgSearchOp = Components.interfaces.nsMsgSearchOp;  gSearchSession.clearScopes();  var searchTerms = gSearchSession.searchTerms;  var searchTermsArray = searchTerms.QueryInterface(Components.interfaces.nsISupportsArray);  searchTermsArray.Clear();  var selectedFolder = GetThreadPaneFolder();  gSearchSession.addScopeTerm(nsMsgSearchScope.offlineMail, selectedFolder);  // add each item in termsArray to the search session  var isupports = null;  var searchTerm;   var termsArray = aTermsArray.QueryInterface(Components.interfaces.nsISupportsArray);  for (var i = 0; i < termsArray.Count(); i++)  {    isupports = termsArray.GetElementAt(i);    searchTerm = isupports.QueryInterface(Components.interfaces.nsIMsgSearchTerm);    gSearchSession.appendTerm(searchTerm);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/80105592d92de2b15344dd510a07278db4c54a20/searchBar.js/clean/mailnews/base/resources/content/searchBar.js