JX Application Framework
|
#include <JSTUndoMove.h>
Public Member Functions | |
JSTUndoMove (JStyledText *text, const JStyledText::TextIndex &srcIndex, const JStyledText::TextIndex &destIndex, const JStyledText::TextCount &count) | |
~JSTUndoMove () override | |
void | Undo () override |
void | SetCount (const JStyledText::TextCount &count) override |
![]() | |
JSTUndoBase (JStyledText *text) | |
~JSTUndoBase () override | |
virtual void | SetFont (const JString &name, const JSize size) |
![]() | |
JUndo () | |
virtual | ~JUndo () |
bool | IsActive () const |
void | Activate () |
void | Deactivate () |
bool | IsRedo () const |
void | SetRedo (const bool isRedo) |
Additional Inherited Members | |
![]() | |
JStyledText * | GetText () const |
void | SetFont (JRunArray< JFont > *styles, const JString &name, const JSize size) |
Interface for the JSTUndoMove class.
Class to undo moving text from one place to another, typically via drag-and-drop.
JSTUndoMove::JSTUndoMove | ( | JStyledText * | text, |
const JStyledText::TextIndex & | srcIndex, | ||
const JStyledText::TextIndex & | destIndex, | ||
const JStyledText::TextCount & | count | ||
) |
|
override |
|
overridevirtual |
Supports JStyledText::MoveText()
Reimplemented from JSTUndoBase.
|
overridevirtual |
Implements JUndo.