LLTextEditor::LLTextCmdAddChar Class Reference

Inheritance diagram for LLTextEditor::LLTextCmdAddChar:

Inheritance graph
[legend]
Collaboration diagram for LLTextEditor::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) const
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 130 of file lltexteditor.cpp.


Constructor & Destructor Documentation

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

Definition at line 133 of file lltexteditor.cpp.


Member Function Documentation

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

Reimplemented from LLTextEditor::LLTextCmd.

Definition at line 137 of file lltexteditor.cpp.

References mBlockExtensions, and TRUE.

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

Reimplemented from LLTextEditor::LLTextCmd.

Definition at line 141 of file lltexteditor.cpp.

References LLTextEditor::LLTextCmd::getPosition(), mBlockExtensions, mWString, and S32.

Here is the call graph for this function:

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

Implements LLTextEditor::LLTextCmd.

Definition at line 145 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 BOOL LLTextEditor::LLTextCmdAddChar::extendAndExecute ( LLTextEditor editor,
S32  pos,
llwchar  wc,
S32 delta 
) [inline, virtual]

Reimplemented from LLTextEditor::LLTextCmd.

Definition at line 152 of file lltexteditor.cpp.

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

Here is the call graph for this function:

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

Implements LLTextEditor::LLTextCmd.

Definition at line 164 of file lltexteditor.cpp.

References LLTextEditor::LLTextCmd::getPosition(), and mWString.

Here is the call graph for this function:

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

Implements LLTextEditor::LLTextCmd.

Definition at line 169 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 176 of file lltexteditor.cpp.

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

Definition at line 177 of file lltexteditor.cpp.

Referenced by blockExtensions(), and canExtend().


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