1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:38:13 +00:00

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.
This commit is contained in:
Brian Gianforcaro 2022-01-17 21:27:49 -08:00 committed by Andreas Kling
parent bcfc87fcc2
commit 413d8ccd5f

View file

@ -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 = [&] {