mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:05:08 +00:00
LibGUI: Make autoformatting performed on InsertTextCommand visible to on_edit_action
This commit is contained in:
parent
4232874270
commit
8dc0d9b7b7
3 changed files with 65 additions and 44 deletions
|
@ -260,6 +260,7 @@ private:
|
|||
inline void execute(Args&&... args)
|
||||
{
|
||||
auto command = make<T>(*m_document, forward<Args>(args)...);
|
||||
command->perform_formatting(*this);
|
||||
on_edit_action(*command);
|
||||
command->execute_from(*this);
|
||||
m_document->add_to_undo_stack(move(command));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue