summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Command.h
AgeCommit message (Collapse)Author
2021-05-08LibGUI: Make Command::action_text() virtualAndreas Kling
It will be easier for some commands to generate an action text on the fly instead of having to think of it up front, so a virtual that you can override seems more convenient here.
2021-05-08LibGUI: Support merging of adjacent commands on the UndoStackAndreas Kling
When pushing a new command on an undo stack, we will now attempt to merge it into the stack's current command. Merging is implemented by overriding the "merge_with(Command const&)" virtual on GUI::Command. :^)
2021-05-02LibGUI+HackStudio: Remove editing specific hacks from GUI::CommandAndreas Kling
Use is<T> to check for specific types of command in HackStudio instead of cluttering up GUI::Command with specialized getters.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling