LTETypingAction is a PowerPlant class that is used for handling common typing actions.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
This is a simple class for handling typing in the TextEdit field.
Source files:
Ancestors:
Purpose:
The constructor creates the object from the passed-in parameters.
Access:
Prototype:
LTETypingAction( TEHandle inMacTEH,Parameters:
LCommander *inTextCommander,
LPane *inTextPane );
The parameters for this constructor are:
Purpose:
The destructor destroys the object.
Access:
Prototype:
virtual ~LTETypingAction();
Purpose:
Handle the backward delete typing action. Backward delete erases the current selection if one or more characters are selected. If the selection is a single insertion point, then backward delete erases the one character before the insertion point
Access:
Prototype:
virtual void BackwardErase();Parameters:
Return:
Purpose:
Handle forward delete typing action. Forward delete erases the current selection if one or more characters are selected. If the selection is a single insertion point, then forward delete erases the one character after the insertion point.
Access:
Prototype:
virtual void ForwardErase();Parameters:
Return:
Purpose:
Handle an input character typing action.
Access:
Prototype:
virtual void InputCharacter( SInt16 inChar );Parameters:
The parameters for this constructor are:
Return:
Purpose:
Redo a TypingAction by restoring the last typing sequence. This is an override of RedoSelf() in LAction.
Purpose:
Re-initialize the state of the typing action.
Access:
Prototype:
virtual void Reset();Parameters:
Return:
Purpose:
Undo a typing action by restoring the text and selection that existed before the current typing sequence started. This is an override of UndoSelf() in LAction.
Purpose:
Access:
Prototype:
Handle mTypedTextH;
Purpose:
Access:
Prototype:
SInt16 mTypingStart;
Purpose:
Access:
Prototype:
SInt16 mTypingEnd;