mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:27:45 +00:00
Spreadsheet: Implement undo functionality where missing
Implement undo/redo functionality in the Spreadsheet application for the "extend" function, the drag-and-drop function, and when copying and pasting.
This commit is contained in:
parent
22575c9370
commit
356eca7e33
5 changed files with 28 additions and 9 deletions
|
@ -135,7 +135,7 @@ public:
|
|||
Cut
|
||||
};
|
||||
|
||||
void copy_cells(Vector<Position> from, Vector<Position> to, Optional<Position> resolve_relative_to = {}, CopyOperation copy_operation = CopyOperation::Copy);
|
||||
Vector<CellChange> copy_cells(Vector<Position> from, Vector<Position> to, Optional<Position> resolve_relative_to = {}, CopyOperation copy_operation = CopyOperation::Copy);
|
||||
|
||||
/// Gives the bottom-right corner of the smallest bounding box containing all the written data, optionally limited to the given column.
|
||||
Position written_data_bounds(Optional<size_t> column_index = {}) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue