1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

LibGUI: Unindent selected text on shift+tab press

Selected text is unindented when Shift+Tab is pressed. Select text,
indent it with Tab, then unindent with Shift+Tab.
This commit is contained in:
huttongrabiel 2022-06-18 12:03:49 -07:00 committed by Sam Atkins
parent 2fbaa7996c
commit 9369610bf4
4 changed files with 63 additions and 0 deletions

View file

@ -153,6 +153,7 @@ public:
virtual void redo();
bool is_indenting_selection();
void indent_selection();
void unindent_selection();
Function<void()> on_change;
Function<void(bool modified)> on_modified_change;