rem: if (!gReplaceDialog.editor) 
add: if (!gEditor) 
context: function onReplace(){  if (!gReplaceDialog.editor)    return;  // Transfer dialog contents to the find service.  saveFindData();  gReplaceDialog.editor.insertText(gReplaceDialog.replaceKey.value);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/fcf44b284bb5d997c891069c621a48d6402fcac7/EdReplace.js/clean/editor/ui/dialogs/content/EdReplace.js