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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f767738fa2589c59d45b6ddc439e04c39ffaffb1/EdReplace.js/clean/editor/ui/dialogs/content/EdReplace.js