if (!mPresShellWeak) return NS_ERROR_NOT_INITIALIZED; nsCOMPtr<nsIPresShell> ps = do_QueryReferent(mPresShellWeak); if (!ps) return NS_ERROR_NOT_INITIALIZED; return ps->DoCopy();
return nsTextEditor::Copy();
NS_IMETHODIMP nsHTMLEditor::Copy(){  //printf("nsEditor::Copy\n");  if (!mPresShellWeak) return NS_ERROR_NOT_INITIALIZED;  nsCOMPtr<nsIPresShell> ps = do_QueryReferent(mPresShellWeak);  if (!ps) return NS_ERROR_NOT_INITIALIZED;  return ps->DoCopy();}