Public Member Functions | |
LLTextCmdInsert (S32 pos, BOOL group_with_next, const LLWString &ws) | |
virtual | ~LLTextCmdInsert () |
virtual BOOL | execute (LLTextEditor *editor, S32 *delta) |
virtual S32 | undo (LLTextEditor *editor) |
virtual S32 | redo (LLTextEditor *editor) |
Private Attributes | |
LLWString | mWString |
Definition at line 99 of file lltexteditor.cpp.
LLTextEditor::LLTextCmdInsert::LLTextCmdInsert | ( | S32 | pos, | |
BOOL | group_with_next, | |||
const LLWString & | ws | |||
) | [inline] |
Definition at line 102 of file lltexteditor.cpp.
virtual LLTextEditor::LLTextCmdInsert::~LLTextCmdInsert | ( | ) | [inline, virtual] |
Definition at line 106 of file lltexteditor.cpp.
virtual BOOL LLTextEditor::LLTextCmdInsert::execute | ( | LLTextEditor * | editor, | |
S32 * | delta | |||
) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 107 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), LLTextEditor::LLTextCmd::insert(), mWString, and LLStringBase< T >::truncate().
virtual S32 LLTextEditor::LLTextCmdInsert::undo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 114 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), and mWString.
virtual S32 LLTextEditor::LLTextCmdInsert::redo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 119 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), LLTextEditor::LLTextCmd::insert(), and mWString.