LLTextEditor::LLTextCmd Class Reference

#include <lltexteditor.h>

Inheritance diagram for LLTextEditor::LLTextCmd:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 LLTextCmd (S32 pos, BOOL group_with_next)
virtual ~LLTextCmd ()
virtual BOOL execute (LLTextEditor *editor, S32 *delta)=0
virtual S32 undo (LLTextEditor *editor)=0
virtual S32 redo (LLTextEditor *editor)=0
virtual BOOL canExtend (S32 pos) const
virtual void blockExtensions ()
virtual BOOL extendAndExecute (LLTextEditor *editor, S32 pos, llwchar c, S32 *delta)
virtual BOOL hasExtCharValue (llwchar value) const
S32 insert (LLTextEditor *editor, S32 pos, const LLWString &wstr)
S32 remove (LLTextEditor *editor, S32 pos, S32 length)
S32 overwrite (LLTextEditor *editor, S32 pos, llwchar wc)
S32 getPosition () const
BOOL groupWithNext () const

Private Attributes

const S32 mPos
BOOL mGroupWithNext


Detailed Description

Definition at line 322 of file lltexteditor.h.


Constructor & Destructor Documentation

LLTextEditor::LLTextCmd::LLTextCmd ( S32  pos,
BOOL  group_with_next 
) [inline]

Definition at line 325 of file lltexteditor.h.

virtual LLTextEditor::LLTextCmd::~LLTextCmd (  )  [inline, virtual]

Definition at line 326 of file lltexteditor.h.


Member Function Documentation

virtual BOOL LLTextEditor::LLTextCmd::execute ( LLTextEditor editor,
S32 delta 
) [pure virtual]

virtual S32 LLTextEditor::LLTextCmd::undo ( LLTextEditor editor  )  [pure virtual]

virtual S32 LLTextEditor::LLTextCmd::redo ( LLTextEditor editor  )  [pure virtual]

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

Reimplemented in LLTextEditor::LLTextCmdAddChar.

Definition at line 330 of file lltexteditor.h.

References FALSE.

Referenced by LLTextEditor::addChar().

Here is the caller graph for this function:

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

Reimplemented in LLTextEditor::LLTextCmdAddChar.

Definition at line 331 of file lltexteditor.h.

Referenced by LLTextEditor::makePristine().

Here is the caller graph for this function:

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

Reimplemented in LLTextEditor::LLTextCmdAddChar.

Definition at line 332 of file lltexteditor.h.

References llassert.

Referenced by LLTextEditor::addChar().

Here is the caller graph for this function:

virtual BOOL LLTextEditor::LLTextCmd::hasExtCharValue ( llwchar  value  )  const [inline, virtual]

Reimplemented in LLViewerTextEditor::LLTextCmdInsertEmbeddedItem.

Definition at line 333 of file lltexteditor.h.

References FALSE.

S32 LLTextEditor::LLTextCmd::insert ( LLTextEditor editor,
S32  pos,
const LLWString wstr 
) [inline]

S32 LLTextEditor::LLTextCmd::remove ( LLTextEditor editor,
S32  pos,
S32  length 
) [inline]

Definition at line 337 of file lltexteditor.h.

S32 LLTextEditor::LLTextCmd::overwrite ( LLTextEditor editor,
S32  pos,
llwchar  wc 
) [inline]

Definition at line 338 of file lltexteditor.h.

References LLTextEditor::overwriteCharNoUndo().

Referenced by LLTextEditor::LLTextCmdOverwriteChar::execute(), LLTextEditor::LLTextCmdOverwriteChar::redo(), and LLTextEditor::LLTextCmdOverwriteChar::undo().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 LLTextEditor::LLTextCmd::getPosition ( void   )  const [inline]

BOOL LLTextEditor::LLTextCmd::groupWithNext (  )  const [inline]

Definition at line 341 of file lltexteditor.h.

References mGroupWithNext.

Referenced by LLTextEditor::redo(), and LLTextEditor::undo().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 344 of file lltexteditor.h.

Referenced by getPosition().

Definition at line 345 of file lltexteditor.h.

Referenced by groupWithNext().


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

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