mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
HackStudio: Show text editor after starting the application
The user can now start typing text instead of creating a file first. This also enables drag-and-dropping a file as soon as the application starts.
This commit is contained in:
committed by
Andreas Kling
parent
e4f0795ae4
commit
8a4bb581a2
@@ -515,6 +515,7 @@ void HackStudioWidget::add_new_editor(GUI::Widget& parent)
|
||||
wrapper->set_project_root(LexicalPath(m_project->root_path()));
|
||||
wrapper->editor().on_cursor_change = [this] { update_statusbar(); };
|
||||
wrapper->editor().on_change = [this] { update_gml_preview(); };
|
||||
set_edit_mode(EditMode::Text);
|
||||
}
|
||||
|
||||
NonnullRefPtr<GUI::Action> HackStudioWidget::create_switch_to_next_editor_action()
|
||||
|
||||
Reference in New Issue
Block a user