LLTextEditor::LLTextCmdInsert Class Reference

Inheritance diagram for LLTextEditor::LLTextCmdInsert:

Inheritance graph
[legend]
Collaboration diagram for LLTextEditor::LLTextCmdInsert:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 99 of file lltexteditor.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:


Member Data Documentation

Definition at line 126 of file lltexteditor.cpp.

Referenced by execute(), redo(), and undo().


The documentation for this class was generated from the following file:

Generated on Fri May 16 09:13:56 2008 for SecondLife by  doxygen 1.5.5