ladybird/Userland/Applications/Spreadsheet
Zack Penn e41dfa6599 Spreadsheet: Add undo/redo implementation
The Spreadsheet application currently does not support undo/redo,
and with this update, we are starting the process of adding this feature
:-)

Additionally, the save dialog has been updated to use
GUI::MessageBox::ask_about_unsaved_changes() for system cohesity.

Spreadsheet: Add basic undo functinoality

The spreadsheet application now has basic support for undo. Testing of
this feature is limited, and may not work as intended yet.

Spreadsheet: Add callback when a cell's value is changed

In addition to the callback being added, this commit also exposes the
SheetModel class via a getter in SpreadSheetView.

Spreadsheet: Remove debug statements and use cell change callback

This commit uses the on_cell_data_change callback from within the
SheetModel class. This allows for us to push/pop changes to the undo
stack.

With this, we have basic Undo/Redo functionality :-)

Spreadsheet: Actually add window::set_modified

Spreadsheet: Const-correctness :-)

Spreadsheet: Reorder the edit menu actions
2022-02-21 16:04:48 +03:30
..
CellType Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
Readers Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
Writers Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
Cell.cpp Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
Cell.h Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
CellSyntaxHighlighter.cpp Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
CellSyntaxHighlighter.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
CellTypeDialog.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
CellTypeDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt Applications: Port Spreadsheet to LibMain 2022-02-10 10:24:18 +00:00
CondFormatting.gml Userland: Run gml-format 2022-02-13 02:36:35 +02:00
ConditionalFormatting.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
CondView.gml Userland: Run gml-format 2022-02-13 02:36:35 +02:00
csv_export.gml Userland: Run gml-format 2022-02-13 02:36:35 +02:00
csv_import.gml Userland: Run gml-format 2022-02-13 02:36:35 +02:00
ExportDialog.cpp Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr 2022-01-24 22:36:09 +01:00
ExportDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HelpWindow.cpp Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
HelpWindow.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
ImportDialog.cpp Spreadsheet: Use FileSystemAccessClient for the reading of files 2022-01-15 22:20:15 +03:30
ImportDialog.h Spreadsheet: Use FileSystemAccessClient for the reading of files 2022-01-15 22:20:15 +03:30
JSIntegration.cpp Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
JSIntegration.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
main.cpp Applications: Port Spreadsheet to LibMain 2022-02-10 10:24:18 +00:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
select_format_page.gml Userland: Run gml-format 2022-02-13 02:36:35 +02:00
Spreadsheet.cpp Spreadsheet: Remove Debug Statement 2022-02-20 20:05:31 +00:00
Spreadsheet.h Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
SpreadsheetModel.cpp Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
SpreadsheetModel.h Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
SpreadsheetView.cpp Applications: Use default constructors/destructors 2022-02-14 22:06:55 +00:00
SpreadsheetView.h Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
SpreadsheetWidget.cpp Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
SpreadsheetWidget.h Spreadsheet: Add undo/redo implementation 2022-02-21 16:04:48 +03:30
Workbook.cpp Spreadsheet: Enable dynamic import of javascript modules 2022-01-22 01:21:18 +00:00
Workbook.h SpreadSheet: Use FileSystemAccessClient::try_* APIs 2022-01-20 10:39:12 +01:00