summaryrefslogtreecommitdiff
path: root/Userland/DevTools/GMLPlayground
diff options
context:
space:
mode:
authorCaoimhe <caoimhebyrne06@gmail.com>2023-05-31 18:11:46 +0100
committerAndreas Kling <kling@serenityos.org>2023-06-01 06:26:40 +0200
commit617edafbf2f3201744e523015c11b317205ef76d (patch)
treebe702a0f0f175e82efec0ae8cb8531d275c76ae3 /Userland/DevTools/GMLPlayground
parent75c8e07cc386a41ee03c3d0a884deec3323a491c (diff)
downloadserenity-617edafbf2f3201744e523015c11b317205ef76d.zip
LibGUI: Add support for jumping to a line and column in TextEditor
We had support for going to a specific line before, but now we support jumping around using the `line:column` format :^)
Diffstat (limited to 'Userland/DevTools/GMLPlayground')
-rw-r--r--Userland/DevTools/GMLPlayground/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/GMLPlayground/MainWidget.cpp b/Userland/DevTools/GMLPlayground/MainWidget.cpp
index bfff84decc..5b6724ed33 100644
--- a/Userland/DevTools/GMLPlayground/MainWidget.cpp
+++ b/Userland/DevTools/GMLPlayground/MainWidget.cpp
@@ -200,7 +200,7 @@ ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window)
TRY(edit_menu->try_add_action(m_editor->paste_action()));
TRY(edit_menu->try_add_separator());
TRY(edit_menu->try_add_action(m_editor->select_all_action()));
- TRY(edit_menu->try_add_action(m_editor->go_to_line_action()));
+ TRY(edit_menu->try_add_action(m_editor->go_to_line_or_column_action()));
TRY(edit_menu->try_add_separator());
auto format_gml_action = GUI::Action::create("&Format GML", { Mod_Ctrl | Mod_Shift, Key_I }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/reformat.png"sv)), [&](auto&) {