Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsAutoRules Class Reference

#include <nsEditorUtils.h>

Collaboration diagram for nsAutoRules:
Collaboration graph

List of all members.

Public Member Functions

 nsAutoRules (nsEditor *ed, PRInt32 action, nsIEditor::EDirection aDirection)
 ~nsAutoRules ()

Protected Attributes

PRBool mDoNothing

Detailed Description

Definition at line 106 of file nsEditorUtils.h.

Constructor & Destructor Documentation

nsAutoRules::nsAutoRules ( nsEditor ed,
PRInt32  action,
nsIEditor::EDirection  aDirection 
) [inline]

Definition at line 110 of file nsEditorUtils.h.

         mEd(ed), mDoNothing(PR_FALSE)
    if (mEd && !mEd->mAction) // mAction will already be set if this is nested call
      mEd->StartOperation(action, aDirection);
    else mDoNothing = PR_TRUE; // nested calls will end up here

Here is the call graph for this function:

Definition at line 119 of file nsEditorUtils.h.

    if (mEd && !mDoNothing) 

Here is the call graph for this function:

Member Data Documentation

Definition at line 129 of file nsEditorUtils.h.

nsEditor* nsAutoRules::mEd [protected]

Definition at line 128 of file nsEditorUtils.h.

The documentation for this class was generated from the following file: