diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-01-17 21:27:49 -0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-18 09:00:27 +0100 |
commit | 413d8ccd5f589550fdc1a2c7b0215f7fa610ae2c (patch) | |
tree | 0261c3382260942cc558924aef5467eade6bfe97 | |
parent | bcfc87fcc257c8a5fa8d0d9b1b171c95a2686b37 (diff) | |
download | serenity-413d8ccd5f589550fdc1a2c7b0215f7fa610ae2c.zip |
Playground: Enable line numbers in the GML editor
Most folks expect line numbers when editing code, so lets enable them in
when editing GML in the Playground app.
-rw-r--r-- | Userland/DevTools/Playground/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/DevTools/Playground/main.cpp b/Userland/DevTools/Playground/main.cpp index 177ca92c69..3886894bad 100644 --- a/Userland/DevTools/Playground/main.cpp +++ b/Userland/DevTools/Playground/main.cpp @@ -91,6 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) editor->set_autocomplete_provider(make<GUI::GMLAutocompleteProvider>()); editor->set_should_autocomplete_automatically(true); editor->set_automatic_indentation_enabled(true); + editor->set_ruler_visible(true); String file_path; auto update_title = [&] { |