rem: RemoveSelectedTreelistItem(gDialog.DictionaryList); 
add: gDialog.DictionaryList.removeItemAt(selIndex); 
context: function RemoveWord(){  var selIndex = gDialog.DictionaryList.selectedIndex;  if (selIndex >= 0)  {    var word = GetSelectedTreelistValue(gDialog.DictionaryList);    // Remove word from list    RemoveSelectedTreelistItem(gDialog.DictionaryList);    // Remove from dictionary    try {      //Not working: BUG 43348      gSpellChecker.RemoveWordFromDictionary(word);    }    catch (e)    {      dump("Failed to remove word from dictionary\n");    }    ResetSelectedItem(selIndex);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/db9f2fff82069a9541ab1d6e59faab309c0f4fce/EdDictionary.js/buggy/editor/ui/dialogs/content/EdDictionary.js