LLTextCmdInsert Class Reference

Inheritance diagram for LLTextCmdInsert:

Inheritance graph
[legend]
Collaboration diagram for LLTextCmdInsert:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextCmdInsert (S32 pos, BOOL group_with_next, const LLWString &ws)
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 125 of file lltexteditor.cpp.


Constructor & Destructor Documentation

LLTextCmdInsert::LLTextCmdInsert ( S32  pos,
BOOL  group_with_next,
const LLWString ws 
) [inline]

Definition at line 128 of file lltexteditor.cpp.


Member Function Documentation

virtual BOOL LLTextCmdInsert::execute ( LLTextEditor editor,
S32 delta 
) [inline, virtual]

Implements LLTextCmd.

Definition at line 132 of file lltexteditor.cpp.

References LLTextCmd::insert(), LLTextCmd::mPos, mWString, and LLStringBase< T >::truncate().

virtual S32 LLTextCmdInsert::redo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 144 of file lltexteditor.cpp.

References LLTextCmd::insert(), LLTextCmd::mPos, and mWString.

virtual S32 LLTextCmdInsert::undo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 139 of file lltexteditor.cpp.

References LLTextCmd::mPos, mWString, and LLTextCmd::remove().


Member Data Documentation

LLWString LLTextCmdInsert::mWString [private]

Definition at line 151 of file lltexteditor.cpp.

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


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:50 2010 for Second Life Viewer by  doxygen 1.4.7