Public Member Functions | |
LLTextCmdOverwriteChar (S32 pos, BOOL group_with_next, llwchar wc) | |
virtual BOOL | execute (LLTextEditor *editor, S32 *delta) |
virtual S32 | undo (LLTextEditor *editor) |
virtual S32 | redo (LLTextEditor *editor) |
Private Attributes | |
llwchar | mChar |
llwchar | mOldChar |
Definition at line 183 of file lltexteditor.cpp.
LLTextEditor::LLTextCmdOverwriteChar::LLTextCmdOverwriteChar | ( | S32 | pos, | |
BOOL | group_with_next, | |||
llwchar | wc | |||
) | [inline] |
Definition at line 186 of file lltexteditor.cpp.
virtual BOOL LLTextEditor::LLTextCmdOverwriteChar::execute | ( | LLTextEditor * | editor, | |
S32 * | delta | |||
) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 189 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), LLTextEditor::getWChar(), mChar, mOldChar, LLTextEditor::LLTextCmd::overwrite(), and TRUE.
virtual S32 LLTextEditor::LLTextCmdOverwriteChar::undo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 196 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), mOldChar, and LLTextEditor::LLTextCmd::overwrite().
virtual S32 LLTextEditor::LLTextCmdOverwriteChar::redo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 201 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), mChar, and LLTextEditor::LLTextCmd::overwrite().