MvcTransactionModel::SetHistorySize

void MvcTransactionModel::SetHistorySize(int nHistorySize)

Sets the size of the history buffer maintained by the transaction model

Defined in: MvcTransactionModel.cpp

Parameters

nHistorySize

The new size of the history buffer

Comments

The history buffer is a circular buffer that stores transaction records. This function sets the size of that circular buffer. Depending upon the number of undo/redo actions you wish to support or the size of the cause/event log you wish to capture, you should set the size accordingly.