|
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 |
Public Member Functions inherited from JSTUndoBase | |
| JSTUndoBase (JStyledText *text) | |
| ~JSTUndoBase () override | |
| virtual void | SetFont (const JString &name, const JSize size) |
Public Member Functions inherited from JUndo | |
| JUndo () | |
| virtual | ~JUndo () |
| bool | IsActive () const |
| void | Activate () |
| void | Deactivate () |
| bool | IsRedo () const |
| void | SetRedo (const bool isRedo) |
Additional Inherited Members | |
Protected Member Functions inherited from JSTUndoBase | |
| 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.