mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
TransactionScope for performance also when abandoning redo states
This commit is contained in:
@@ -132,7 +132,10 @@ class AUDACITY_DLL_API UndoManager final
|
||||
void ModifyState(const TrackList * l,
|
||||
const SelectedRegion &selectedRegion, const std::shared_ptr<Tags> &tags);
|
||||
void ClearStates();
|
||||
void RemoveStates(int num); // removes the 'num' oldest states
|
||||
void RemoveStates(
|
||||
size_t begin, //!< inclusive start of range
|
||||
size_t end //!< exclusive end of range
|
||||
);
|
||||
unsigned int GetNumStates();
|
||||
unsigned int GetCurrentState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user