1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:30:59 +00:00
serenity/Userland/Applications
RasmusNylander fa99125571 Spreadsheet: Handle emptying of cell containing only an '='
Cell::set_data(String new_data) now checks whether the cell is a
formula-cell and the new_data is an empty string. If this is case, it
will no longer simply return and will now instead actually set the
cell's contents to an empty string.

This fixes an error whereupon committing the string "=" to a cell, it
would not be possible to directly delete the cell's contents. Instead,
it first had to be overwritten with another string, which then could be
deleted.

This could probably be done more elegantly. Right now, I believe,
writing the string "=" to a (formula-)cell already containing an
identical string will result in the cell being marked as dirty, even
though nothing actually changed.
2021-12-16 02:44:37 +03:30
..
3DFileViewer Userland: Use File::lines() range-based for loop where appropriate 2021-12-12 14:06:38 +03:30
About About: Display the full version 2021-09-02 16:17:18 +01:00
AnalogClock Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
Assistant Userland: Cast unused BackgroundAction::construct() results to void 2021-12-05 15:31:03 +01:00
Browser Browser+LibWeb+WebContent: Add variables display to Inspector 2021-12-10 06:52:17 +01:00
BrowserSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Calculator Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Calendar LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
CrashReporter CrashReporter: Remove redundant pledge() 2021-12-11 23:06:56 +01:00
Debugger AK: Make ByteBuffer::try_* functions return ErrorOr<void> 2021-11-10 21:58:58 +01:00
DisplaySettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
FileManager Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
FontEditor LibGUI+FontEditor: Allow ComboBox on_change callback to be toggled 2021-11-30 10:51:51 +01:00
Help Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
HexEditor Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
ImageViewer Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
KeyboardMapper Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
KeyboardSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
Magnifier Magnifier: Use LibMain 2021-11-28 10:10:35 -08:00
Mail Mail: Ask the user if they want to see the mail settings 2021-12-11 15:09:54 -08:00
MailSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
MouseSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
PDFViewer LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore 2021-11-23 11:33:36 +01:00
Piano Piano: Add track controls to the player widget 2021-12-11 23:07:21 +01:00
PixelPaint Userland: Use File::lines() range-based for loop where appropriate 2021-12-12 14:06:38 +03:30
Run Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
Settings Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
SoundPlayer SoundPlayer: Port to LibMain :^) 2021-12-04 15:07:18 -08:00
SpaceAnalyzer Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
Spreadsheet Spreadsheet: Handle emptying of cell containing only an '=' 2021-12-16 02:44:37 +03:30
SystemMonitor Userland: Cast unused BackgroundAction::construct() results to void 2021-12-05 15:31:03 +01:00
Terminal Everywhere: Fix -Winconsistent-missing-override warnings from Clang 2021-12-11 13:14:15 -08:00
TerminalSettings Applications: Cast unused smart-pointer TRY return values to void 2021-12-05 15:31:03 +01:00
TextEditor HackStudio+TextEditor: Persist EditingEngineType across editors 2021-12-09 21:31:06 +01:00
ThemeEditor ThemeEditor: Use LibMain 2021-11-28 10:10:35 -08:00
VideoPlayer LibGfx: Use ErrorOr<T> for Bitmap::try_create() 2021-11-08 00:35:27 +01:00
Welcome Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
CMakeLists.txt Terminal: Modernize terminal settings as a standalone application 2021-11-27 12:45:44 +01:00