LTETextAction is a PowerPlant class that is used for handling the common editing actions for a TextEdit field.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
This is a simple class for handling operations for the TextEdit field.
Source files:
Ancestors:
Purpose:
The constructor creates an object from the passed-in parameters.
Access:
Prototype:
LTETextAction( SInt16 inDescriptionIndex,Parameters:
CommandT inActionCommand,
TEHandle inMacTEH,
LCommander *inTextCommander,
LPane *inTextPane,
Boolean inAlreadyDone );
The parameters for this constructor are:
|
||
|
Purpose:
The destructor destroys the object.
Access:
Prototype:
virtual ~LTETextAction();
Purpose:
This is an override of CanRedo() in LAction.
Purpose:
This is an override of CanUndo() in LAction.
Purpose:
This is an override of Redo() in LAction.
Purpose:
This is an override of Undo() in LAction.
Purpose:
This is an override of UndoSelf() in LAction.
Purpose:
Pointer storage for the text Commander.
Access:
Prototype:
LCommander *mTextCommander;
Purpose:
Access:
Prototype:
LPane *mTextPane;
Purpose:
Access:
Prototype:
TEHandle mMacTEH;
Purpose:
Storage for the action command.
Access:
Prototype:
MessageT mActionCommand;
Purpose:
Storage for the handle to deleted text.
Access:
Prototype:
Handle mDeletedTextH;
Purpose:
Storage for the length of the deleted text.
Access:
Prototype:
SInt32 mDeletedTextLen;
Purpose:
Access:
Prototype:
SInt16 mSelStart;
Purpose:
Access:
Prototype:
SInt16 mSelEnd;