1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 15:05:08 +00:00

LibGUI: Give GTextEditor a context menu.

Now GTextEditor manages its own editing actions (cut/copy/paste/etc) and
will show a context menu containing them when requested.

Apps that want to put a GTextEditor's actions in its menu can get to the
actions via public getters. :^)
This commit is contained in:
Andreas Kling 2019-04-18 12:25:00 +02:00
parent 67d7fc94fc
commit ae3ec3fc37
6 changed files with 83 additions and 45 deletions

View file

@ -2,7 +2,6 @@
#include <LibGUI/GMenu.h>
#include <AK/Badge.h>
#include <AK/OwnPtr.h>
#include <AK/Vector.h>
class GApplication;