1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 09:21:00 +00:00
serenity/Libraries
Andreas Kling 00a91bb02c LibGUI: Consolidate and simplify commands used for insertion/removal
This patch adds InsertTextCommand and RemoveTextCommand.
These two commands are used to ... insert and remove text :^)

The bulk of the logic is moved into GTextDocument, and we now use the
command's redo() virtual to perform the action. Or in other words, when
you type into the text editor, we create an InsertTextCommand, push it
onto the undo stack, and call redo() on it immediately. That's how the
text gets inserted.

This makes it quite easy to implement more commands, as there is no
distinction between a redo() and the initial application.
2019-11-30 16:54:05 +01:00
..
LibAudio AudioServer: Port to socket takeover 2019-11-26 19:58:25 +01:00
LibC LibC: Tolerate stddef.h being included from the kernel 2019-11-29 14:53:35 +01:00
LibCore Kernel: Make syscall counters and page fault counters per-thread 2019-11-26 21:37:38 +01:00
LibDraw LibDraw: Painter::draw_pixel() with thickness>1 was doubly translating 2019-11-29 22:31:45 +01:00
LibELF Kernel: Demangle kernel C++ symbols correctly again 2019-11-29 14:59:15 +01:00
LibGUI LibGUI: Consolidate and simplify commands used for insertion/removal 2019-11-30 16:54:05 +01:00
LibHTML LibHTML: Allow resource loads to fail 2019-11-30 11:58:47 +01:00
LibIPC LibIPC+AudioServer: Allow unsolicited server-to-client IPC messages 2019-11-23 16:50:21 +01:00
LibM LibC, LibM: Add functions needed to compile python3 2019-11-11 22:04:16 +01:00
LibMarkdown LibMarkdown: Include a <head> element when rendering MD to HTML 2019-10-30 20:28:44 +01:00
LibPCIDB POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibProtocol ProtocolServer: Port to socket takeover 2019-11-26 19:58:25 +01:00
LibPthread Kernel+LibPthread: pthread_create handles pthread_attr_t 2019-11-18 09:04:32 +01:00
LibThread LibPthread: Start working on a POSIX threading library 2019-11-13 21:49:24 +01:00
LibVT LibVT: Unbreak semi-transparent terminal background painting 2019-11-25 11:35:52 +01:00