rem: spellChecker.AddWordToDictionary(WordToAdd); 
add: gSpellChecker.AddWordToDictionary(gWordToAdd); 
context: function ReplaceWord(){  if (ValidateWordToAdd())  {    selIndex = DictionaryList.selectedIndex;    if (selIndex >= 0)    {      WordToRemove = GetSelectedTreelistValue(DictionaryList);dump("Word to remove: "+WordToRemove+"\n");      spellChecker.RemoveWordFromDictionary(WordToRemove);      try {        // Add to the dictionary list        spellChecker.AddWordToDictionary(WordToAdd);        // Just change the text on the selected item        //  instead of rebuilding the list        ReplaceStringInTreeList(DictionaryList, selIndex, WordToAdd);      } catch (e) {        // Rebuild list and select the word - it was probably already in the list        dump("Exception occured adding word in ReplaceWord\n");        FillDictionaryList();        SelectWordToAddInList();      }    }  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/9e11e06a04cd9529c65c8d397b6e05cd8e4ebe24/EdDictionary.js/clean/editor/ui/dialogs/content/EdDictionary.js