wxMaxima
Loading...
Searching...
No Matches
Data Structures
Undo methods for cell additions/deletions:

Each EditorCell has its own private undo buffer Additionally wxMaxima maintains an undo buffer for worksheet changes. More...

Detailed Description

Each EditorCell has its own private undo buffer Additionally wxMaxima maintains an undo buffer for worksheet changes.

Delete the currently selected cells.

Move a range of cells from the document to the undo buffer.

Delete a range of cells.

Clear the undo and the redo buffer.

It works the following way:

The add and delete actions offer to choose which undo buffer to use since there are two of them:

Parameters
startThe first cell to delete
endThe last cell to delete
undoBufferThe buffer the undo information has to be kept in. Might be
  • treeUndoActions for normal deletes,
  • treeRedoActions for deletions while executing an undo or
  • NULL for: Don't keep any copy of the cells.
Parameters
startThe first cell to delete
endThe last cell to delete

Actually moves them to the undo buffer so this action can be undone.