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 209 of file lltexteditor.cpp.
LLTextCmdOverwriteChar::LLTextCmdOverwriteChar | ( | S32 | pos, | |
BOOL | group_with_next, | |||
llwchar | wc | |||
) | [inline] |
Definition at line 212 of file lltexteditor.cpp.
virtual BOOL LLTextCmdOverwriteChar::execute | ( | LLTextEditor * | editor, | |
S32 * | delta | |||
) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 215 of file lltexteditor.cpp.
References LLTextEditor::getWChar(), mChar, mOldChar, LLTextCmd::mPos, LLTextCmd::overwrite(), and TRUE.
virtual S32 LLTextCmdOverwriteChar::redo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 227 of file lltexteditor.cpp.
References mChar, LLTextCmd::mPos, and LLTextCmd::overwrite().
virtual S32 LLTextCmdOverwriteChar::undo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 222 of file lltexteditor.cpp.
References mOldChar, LLTextCmd::mPos, and LLTextCmd::overwrite().
llwchar LLTextCmdOverwriteChar::mChar [private] |
llwchar LLTextCmdOverwriteChar::mOldChar [private] |