LLTextCmdAddChar Class Reference

Inheritance diagram for LLTextCmdAddChar:

Inheritance graph
[legend]
Collaboration diagram for LLTextCmdAddChar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextCmdAddChar (S32 pos, BOOL group_with_next, llwchar wc)
virtual void blockExtensions ()
virtual BOOL canExtend (S32 pos)
virtual BOOL execute (LLTextEditor *editor, S32 *delta)
virtual BOOL extendAndExecute (LLTextEditor *editor, S32 pos, llwchar wc, S32 *delta)
virtual S32 undo (LLTextEditor *editor)
virtual S32 redo (LLTextEditor *editor)

Private Attributes

LLWString mWString
BOOL mBlockExtensions

Detailed Description

Definition at line 156 of file lltexteditor.cpp.


Constructor & Destructor Documentation

LLTextCmdAddChar::LLTextCmdAddChar ( S32  pos,
BOOL  group_with_next,
llwchar  wc 
) [inline]

Definition at line 159 of file lltexteditor.cpp.


Member Function Documentation

virtual void LLTextCmdAddChar::blockExtensions (  )  [inline, virtual]

Reimplemented from LLTextCmd.

Definition at line 163 of file lltexteditor.cpp.

References mBlockExtensions, and TRUE.

virtual BOOL LLTextCmdAddChar::canExtend ( S32  pos  )  [inline, virtual]

Reimplemented from LLTextCmd.

Definition at line 167 of file lltexteditor.cpp.

References mBlockExtensions, LLTextCmd::mPos, mWString, and S32.

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

Implements LLTextCmd.

Definition at line 171 of file lltexteditor.cpp.

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

virtual BOOL LLTextCmdAddChar::extendAndExecute ( LLTextEditor editor,
S32  pos,
llwchar  wc,
S32 delta 
) [inline, virtual]

Reimplemented from LLTextCmd.

Definition at line 178 of file lltexteditor.cpp.

References LLTextCmd::insert(), and mWString.

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

Implements LLTextCmd.

Definition at line 195 of file lltexteditor.cpp.

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

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

Implements LLTextCmd.

Definition at line 190 of file lltexteditor.cpp.

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


Member Data Documentation

BOOL LLTextCmdAddChar::mBlockExtensions [private]

Definition at line 203 of file lltexteditor.cpp.

Referenced by blockExtensions(), and canExtend().

LLWString LLTextCmdAddChar::mWString [private]

Definition at line 202 of file lltexteditor.cpp.

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