Back to index

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

#include <nsEditorUtils.h>

Collaboration diagram for nsAutoTxnsConserveSelection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsAutoTxnsConserveSelection (nsEditor *ed)
 ~nsAutoTxnsConserveSelection ()

Protected Attributes

nsEditormEd
PRBool mOldState

Detailed Description

Definition at line 137 of file nsEditorUtils.h.


Constructor & Destructor Documentation

Definition at line 141 of file nsEditorUtils.h.

                                            : mEd(ed), mOldState(PR_TRUE)
  {
    if (mEd) 
    {
      mOldState = mEd->GetShouldTxnSetSelection();
      mEd->SetShouldTxnSetSelection(PR_FALSE);
    }
  }

Here is the call graph for this function:

Definition at line 150 of file nsEditorUtils.h.

  {
    if (mEd) 
    {
      mEd->SetShouldTxnSetSelection(mOldState);
    }
  }

Member Data Documentation

Definition at line 159 of file nsEditorUtils.h.

Definition at line 160 of file nsEditorUtils.h.


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