JX Application Framework
|
#include <JSTUndoStyle.h>
Public Member Functions | |
JSTUndoStyle (JStyledText *text, const JStyledText::TextRange &range) | |
~JSTUndoStyle () override | |
void | Undo () override |
void | SetFont (const JString &name, const JSize size) override |
bool | SameRange (const JStyledText::TextRange &range) const |
![]() | |
JSTUndoBase (JStyledText *text) | |
~JSTUndoBase () override | |
virtual void | SetCount (const JStyledText::TextCount &count) |
![]() | |
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 JSTUndoStyle class.
Class to undo style change in a JStyledText object.
JSTUndoStyle::JSTUndoStyle | ( | JStyledText * | text, |
const JStyledText::TextRange & | range | ||
) |
|
override |
bool JSTUndoStyle::SameRange | ( | const JStyledText::TextRange & | range | ) | const |
Called by JStyledText::SetAllFontNameAndSize().
Reimplemented from JSTUndoBase.
|
overridevirtual |
Implements JUndo.