LLTextCmdRemove Class Reference

Inheritance diagram for LLTextCmdRemove:

Inheritance graph
[legend]
Collaboration diagram for LLTextCmdRemove:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextCmdRemove (S32 pos, BOOL group_with_next, S32 len)
virtual BOOL execute (LLTextEditor *editor, S32 *delta)
virtual S32 undo (LLTextEditor *editor)
virtual S32 redo (LLTextEditor *editor)

Private Attributes

LLWString mWString
S32 mLen

Detailed Description

Definition at line 240 of file lltexteditor.cpp.


Constructor & Destructor Documentation

LLTextCmdRemove::LLTextCmdRemove ( S32  pos,
BOOL  group_with_next,
S32  len 
) [inline]

Definition at line 243 of file lltexteditor.cpp.


Member Function Documentation

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

Implements LLTextCmd.

Definition at line 247 of file lltexteditor.cpp.

References LLTextEditor::getWSubString(), mLen, LLTextCmd::mPos, mWString, and LLTextCmd::remove().

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

Implements LLTextCmd.

Definition at line 258 of file lltexteditor.cpp.

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

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

Implements LLTextCmd.

Definition at line 253 of file lltexteditor.cpp.

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


Member Data Documentation

S32 LLTextCmdRemove::mLen [private]

Definition at line 265 of file lltexteditor.cpp.

Referenced by execute(), and redo().

LLWString LLTextCmdRemove::mWString [private]

Definition at line 264 of file lltexteditor.cpp.

Referenced by execute(), 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