mEd(ed), mAction(action), mDirection(aDirection) {if (mEd) mEd->StartOperation(mAction, mDirection);}
mEd(ed), mDoNothing(PR_FALSE) { if (mEd && !mEd->mAction) { mEd->StartOperation(action, aDirection); } else mDoNothing = PR_TRUE; }
  nsAutoRules(nsEditor *ed, PRInt32 action, nsIEditor::EDirection aDirection) :          mEd(ed), mAction(action), mDirection(aDirection)                {if (mEd) mEd->StartOperation(mAction, mDirection);}