Public Member Functions | |
LLTextCmdInsertEmbeddedItem (S32 pos, LLInventoryItem *item) | |
virtual BOOL | execute (LLTextEditor *editor, S32 *delta) |
virtual S32 | undo (LLTextEditor *editor) |
virtual S32 | redo (LLTextEditor *editor) |
virtual BOOL | hasExtCharValue (llwchar value) |
Private Attributes | |
LLPointer< LLInventoryItem > | mItem |
llwchar | mExtCharValue |
Definition at line 492 of file llviewertexteditor.cpp.
LLTextCmdInsertEmbeddedItem::LLTextCmdInsertEmbeddedItem | ( | S32 | pos, | |
LLInventoryItem * | item | |||
) | [inline] |
virtual BOOL LLTextCmdInsertEmbeddedItem::execute | ( | LLTextEditor * | editor, | |
S32 * | delta | |||
) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 502 of file llviewertexteditor.cpp.
References FALSE, LLTextCmd::insert(), LLEmbeddedItems::insertEmbeddedItem(), LLViewerTextEditor::mEmbeddedItemList, mExtCharValue, mItem, LLTextCmd::mPos, and LLEmbeddedItems::removeUnusedChars().
Reimplemented from LLTextCmd.
Definition at line 530 of file llviewertexteditor.cpp.
References mExtCharValue.
virtual S32 LLTextCmdInsertEmbeddedItem::redo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 523 of file llviewertexteditor.cpp.
References LLTextCmd::insert(), mExtCharValue, and LLTextCmd::mPos.
virtual S32 LLTextCmdInsertEmbeddedItem::undo | ( | LLTextEditor * | editor | ) | [inline, virtual] |
Implements LLTextCmd.
Definition at line 517 of file llviewertexteditor.cpp.
References LLTextCmd::mPos, and LLTextCmd::remove().
Definition at line 537 of file llviewertexteditor.cpp.
Referenced by execute(), hasExtCharValue(), and redo().
Definition at line 536 of file llviewertexteditor.cpp.
Referenced by execute(), and LLTextCmdInsertEmbeddedItem().