mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 13:35:07 +00:00
HackStudio: Enable line wrapping and automatic indentation by default
This commit is contained in:
parent
ed242d538a
commit
db353a06e5
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ int main(int argc, char** argv)
|
|||
auto inner_splitter = GSplitter::construct(Orientation::Vertical, outer_splitter);
|
||||
g_text_editor = GTextEditor::construct(GTextEditor::MultiLine, inner_splitter);
|
||||
g_text_editor->set_ruler_visible(true);
|
||||
g_text_editor->set_line_wrapping_enabled(true);
|
||||
g_text_editor->set_automatic_indentation_enabled(true);
|
||||
|
||||
auto new_action = GAction::create("New", { Mod_Ctrl, Key_N }, GraphicsBitmap::load_from_file("/res/icons/16x16/new.png"), [&](const GAction&) {
|
||||
// FIXME: Implement.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue