#include <lltexteditor.h>
Inheritance diagram for LLTextCmd:

| Public Member Functions | |
| LLTextCmd (S32 pos, BOOL group_with_next) | |
| virtual | ~LLTextCmd () | 
| virtual BOOL | execute (LLTextEditor *editor, S32 *delta)=0 | 
| virtual S32 | undo (LLTextEditor *editor)=0 | 
| virtual S32 | redo (LLTextEditor *editor)=0 | 
| virtual BOOL | canExtend (S32 pos) | 
| virtual void | blockExtensions () | 
| virtual BOOL | extendAndExecute (LLTextEditor *editor, S32 pos, llwchar c, S32 *delta) | 
| virtual BOOL | hasExtCharValue (llwchar value) | 
| S32 | insert (LLTextEditor *editor, S32 pos, const LLWString &wstr) | 
| S32 | remove (LLTextEditor *editor, S32 pos, S32 length) | 
| S32 | overwrite (LLTextEditor *editor, S32 pos, llwchar wc) | 
| BOOL | groupWithNext () | 
| Protected Attributes | |
| S32 | mPos | 
| BOOL | mGroupWithNext | 
Definition at line 488 of file lltexteditor.h.
Definition at line 491 of file lltexteditor.h.
| virtual LLTextCmd::~LLTextCmd | ( | ) |  [inline, virtual] | 
Definition at line 496 of file lltexteditor.h.
| void LLTextCmd::blockExtensions | ( | ) |  [virtual] | 
Reimplemented in LLTextCmdAddChar.
Definition at line 94 of file lltexteditor.cpp.
Referenced by LLTextEditor::makePristine().
Reimplemented in LLTextCmdAddChar.
Definition at line 89 of file lltexteditor.cpp.
References FALSE.
Referenced by LLTextEditor::addChar().
| virtual BOOL LLTextCmd::execute | ( | LLTextEditor * | editor, | |
| S32 * | delta | |||
| ) |  [pure virtual] | 
Implemented in LLTextCmdInsert, LLTextCmdAddChar, LLTextCmdOverwriteChar, LLTextCmdRemove, and LLTextCmdInsertEmbeddedItem.
Referenced by LLTextEditor::execute().
| BOOL LLTextCmd::extendAndExecute | ( | LLTextEditor * | editor, | |
| S32 | pos, | |||
| llwchar | c, | |||
| S32 * | delta | |||
| ) |  [virtual] | 
Reimplemented in LLTextCmdAddChar.
Definition at line 98 of file lltexteditor.cpp.
References llassert.
Referenced by LLTextEditor::addChar().
| BOOL LLTextCmd::groupWithNext | ( | ) |  [inline] | 
Definition at line 510 of file lltexteditor.h.
References mGroupWithNext.
Referenced by LLTextEditor::redo(), and LLTextEditor::undo().
Reimplemented in LLTextCmdInsertEmbeddedItem.
Definition at line 104 of file lltexteditor.cpp.
References FALSE.
| S32 LLTextCmd::insert | ( | LLTextEditor * | editor, | |
| S32 | pos, | |||
| const LLWString & | wstr | |||
| ) | 
Definition at line 110 of file lltexteditor.cpp.
References LLTextEditor::insertStringNoUndo().
Referenced by LLTextCmdInsertEmbeddedItem::execute(), LLTextCmdAddChar::execute(), LLTextCmdInsert::execute(), LLTextCmdAddChar::extendAndExecute(), LLTextCmdInsertEmbeddedItem::redo(), LLTextCmdAddChar::redo(), LLTextCmdInsert::redo(), and LLTextCmdRemove::undo().
| S32 LLTextCmd::overwrite | ( | LLTextEditor * | editor, | |
| S32 | pos, | |||
| llwchar | wc | |||
| ) | 
Definition at line 118 of file lltexteditor.cpp.
References LLTextEditor::overwriteCharNoUndo().
Referenced by LLTextCmdOverwriteChar::execute(), LLTextCmdOverwriteChar::redo(), and LLTextCmdOverwriteChar::undo().
| virtual S32 LLTextCmd::redo | ( | LLTextEditor * | editor | ) |  [pure virtual] | 
Implemented in LLTextCmdInsert, LLTextCmdAddChar, LLTextCmdOverwriteChar, LLTextCmdRemove, and LLTextCmdInsertEmbeddedItem.
Referenced by LLTextEditor::redo().
| S32 LLTextCmd::remove | ( | LLTextEditor * | editor, | |
| S32 | pos, | |||
| S32 | length | |||
| ) | 
Definition at line 114 of file lltexteditor.cpp.
References LLTextEditor::removeStringNoUndo().
Referenced by LLTextCmdRemove::execute(), LLTextCmdRemove::redo(), LLTextCmdInsertEmbeddedItem::undo(), LLTextCmdAddChar::undo(), and LLTextCmdInsert::undo().
| virtual S32 LLTextCmd::undo | ( | LLTextEditor * | editor | ) |  [pure virtual] | 
Implemented in LLTextCmdInsert, LLTextCmdAddChar, LLTextCmdOverwriteChar, LLTextCmdRemove, and LLTextCmdInsertEmbeddedItem.
Referenced by LLTextEditor::undo().
| BOOL LLTextCmd::mGroupWithNext  [protected] | 
| S32 LLTextCmd::mPos  [protected] | 
Definition at line 513 of file lltexteditor.h.
Referenced by LLTextCmdAddChar::canExtend(), LLTextCmdInsertEmbeddedItem::execute(), LLTextCmdRemove::execute(), LLTextCmdOverwriteChar::execute(), LLTextCmdAddChar::execute(), LLTextCmdInsert::execute(), LLTextCmdInsertEmbeddedItem::redo(), LLTextCmdRemove::redo(), LLTextCmdOverwriteChar::redo(), LLTextCmdAddChar::redo(), LLTextCmdInsert::redo(), LLTextCmdInsertEmbeddedItem::undo(), LLTextCmdRemove::undo(), LLTextCmdOverwriteChar::undo(), LLTextCmdAddChar::undo(), and LLTextCmdInsert::undo().
 1.4.7
 1.4.7