Next: `schematic.log-window` group, Previous: `schematic.status-bar` group, Up: `Configuration of lepton-schematic` [Contents][Index]

#### 3.4.1.4 `schematic.undo` group

Name | Type | Default value | Description
--- | --- | --- | ---
`modify-viewport` | ‘`boolean`’ | ‘`false`’ | Allow undo/redo operations to change pan and zoom.
`undo-control` | ‘`boolean`’ | ‘`true`’ | Controls if the undo is enabled or not. Since 1.9.10.
`undo-type` | ‘`string`’ | ‘`disk`’ | Possible values: ‘`disk`’, ‘`memory`’. Controls what kind of medium is used for storing undo data. The ‘`disk`’ mechanism is nice because you get undo-level number of backups of the schematic written to disk as backups so you should never lose a schematic due to a crash. Since 1.9.10.
`undo-levels` | ‘`int`’ | ‘`20`’ | Determines the number of levels of undo. Since 1.9.10.
`undo-panzoom` | ‘`boolean`’ | ‘`false`’ | Controls if pan or zoom commands are saved in the undo list. If this is enabled, then a pan or zoom will be considered a command and can be undone. Since 1.9.10.