JX Application Framework
|
#include <JSTUndoTabShift.h>
Public Member Functions | |
JSTUndoTabShift (JStyledText *text, const JStyledText::TextRange &range) | |
~JSTUndoTabShift () override | |
![]() | |
JSTUndoPaste (JStyledText *text, const JStyledText::TextRange &range) | |
~JSTUndoPaste () override | |
void | Undo () override |
void | SetCount (const JStyledText::TextCount &count) override |
bool | SameStartIndex (const JStyledText::TextRange &range) const |
![]() | |
JSTUndoTextBase (JStyledText *text, const JStyledText::TextRange &range) | |
~JSTUndoTextBase () override | |
void | SetFont (const JString &name, const JSize size) override |
![]() | |
JSTUndoBase (JStyledText *text) | |
~JSTUndoBase () override | |
![]() | |
JUndo () | |
virtual | ~JUndo () |
bool | IsActive () const |
void | Activate () |
void | Deactivate () |
bool | IsRedo () const |
void | SetRedo (const bool isRedo) |
Additional Inherited Members | |
![]() | |
void | UndoText (const JStyledText::TextRange range) |
void | PrependToSave (const JUtf8Character &c, const JIndex charIndex) |
void | AppendToSave (const JUtf8Character &c, const JIndex charIndex) |
![]() | |
JStyledText * | GetText () const |
void | SetFont (JRunArray< JFont > *styles, const JString &name, const JSize size) |
Class to undo indenting a block of text. We have to use JSTUndoPaste to get back the original pattern of spaces and tabs.
JSTUndoTabShift::JSTUndoTabShift | ( | JStyledText * | text, |
const JStyledText::TextRange & | range | ||
) |
Saves a snapshot of the specified range, to allow undo.
|
override |