summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-01-17 21:27:49 -0800
committerAndreas Kling <kling@serenityos.org>2022-01-18 09:00:27 +0100
commit413d8ccd5f589550fdc1a2c7b0215f7fa610ae2c (patch)
tree0261c3382260942cc558924aef5467eade6bfe97 /Userland
parentbcfc87fcc257c8a5fa8d0d9b1b171c95a2686b37 (diff)
downloadserenity-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.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/DevTools/Playground/main.cpp1
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 = [&] {