openshot-audio
0.1.5
|
Public Member Functions | |
RemoveAction (TextEditor &ed, const Range< int > rangeToRemove, const int oldCaret, const int newCaret, const Array< UniformTextSection *> &oldSections) | |
bool | perform () |
bool | undo () |
int | getSizeInUnits () |
![]() | |
virtual | ~UndoableAction () |
virtual UndoableAction * | createCoalescedAction (UndoableAction *nextAction) |
Additional Inherited Members | |
![]() | |
UndoableAction () noexcept | |
|
inline |
|
inlinevirtual |
Returns a value to indicate how much memory this object takes up.
Because the UndoManager keeps a list of UndoableActions, this is used to work out how much space each one will take up, so that the UndoManager can work out how many to keep.
The default value returned here is 10 - units are arbitrary and don't have to be accurate.
Reimplemented from juce::UndoableAction.
|
inlinevirtual |
Overridden by a subclass to perform the action.
This method is called by the UndoManager, and shouldn't be used directly by applications.
Be careful not to make any calls in a perform() method that could call recursively back into the UndoManager::perform() method
Implements juce::UndoableAction.
|
inlinevirtual |
Overridden by a subclass to undo the action.
This method is called by the UndoManager, and shouldn't be used directly by applications.
Be careful not to make any calls in an undo() method that could call recursively back into the UndoManager::perform() method
Implements juce::UndoableAction.