Public Member Functions | |
LLTextCmdAddChar (S32 pos, BOOL group_with_next, llwchar wc) | |
virtual void | blockExtensions () |
virtual BOOL | canExtend (S32 pos) const |
virtual BOOL | execute (LLTextEditor *editor, S32 *delta) |
virtual BOOL | extendAndExecute (LLTextEditor *editor, S32 pos, llwchar wc, S32 *delta) |
virtual S32 | undo (LLTextEditor *editor) |
virtual S32 | redo (LLTextEditor *editor) |
Private Attributes | |
LLWString | mWString |
BOOL | mBlockExtensions |
Definition at line 130 of file lltexteditor.cpp.
LLTextEditor::LLTextCmdAddChar::LLTextCmdAddChar | ( | S32 | pos, | |
BOOL | group_with_next, | |||
llwchar | wc | |||
) | [inline] |
Definition at line 133 of file lltexteditor.cpp.
virtual void LLTextEditor::LLTextCmdAddChar::blockExtensions | ( | ) | [inline, virtual] |
Reimplemented from LLTextEditor::LLTextCmd.
Definition at line 137 of file lltexteditor.cpp.
References mBlockExtensions, and TRUE.
Reimplemented from LLTextEditor::LLTextCmd.
Definition at line 141 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), mBlockExtensions, mWString, and S32.
virtual BOOL LLTextEditor::LLTextCmdAddChar::execute | ( | LLTextEditor * | editor, | |
S32 * | delta | |||
) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 145 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), LLTextEditor::LLTextCmd::insert(), mWString, and LLStringBase< T >::truncate().
virtual BOOL LLTextEditor::LLTextCmdAddChar::extendAndExecute | ( | LLTextEditor * | editor, | |
S32 | pos, | |||
llwchar | wc, | |||
S32 * | delta | |||
) | [inline, virtual] |
Reimplemented from LLTextEditor::LLTextCmd.
Definition at line 152 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::insert(), and mWString.
virtual S32 LLTextEditor::LLTextCmdAddChar::undo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 164 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), and mWString.
virtual S32 LLTextEditor::LLTextCmdAddChar::redo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextEditor::LLTextCmd.
Definition at line 169 of file lltexteditor.cpp.
References LLTextEditor::LLTextCmd::getPosition(), LLTextEditor::LLTextCmd::insert(), and mWString.
Definition at line 176 of file lltexteditor.cpp.
Referenced by canExtend(), execute(), extendAndExecute(), redo(), and undo().