Specifying Undo/Redo Stack Depth

When you work with a document, it is possible to undo last several actions and then redo them if needed. All the actions together with document states are stored in memory consuming it, which may slow down Serna performance. To limit memory consumption, you can set the maximum depth of the undo/redo stack.

  1. Call up the Preferences Dialog.

    To call up the Preferences Dialog, choose Tools > Preferences .

  2. Select the Folding tab.

    Figure 1. Folding tab.



  3. Set the number of the last actions to be stored in memory.

    On the Undo/Redo Limits pane, specify the number in the Limit undo/redo stack depth to ... entries spinner.

    The number means how many of the most recent actions you can undo/redo. Note that continuously typing a chain of symbols is considered as one action until you interrupt it by some input event, for example by moving the cursor or executing a command.

    Allowed values are between 10 and 9999. The default value is 30.

  4. Click the Apply button to apply the settings.
  5. Click the Close button to close the dialog.
Related tasks
Specifying Default Spelling Dictionary