diff options
author | Caoimhe <caoimhebyrne06@gmail.com> | 2023-05-31 18:11:46 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-06-01 06:26:40 +0200 |
commit | 617edafbf2f3201744e523015c11b317205ef76d (patch) | |
tree | be702a0f0f175e82efec0ae8cb8531d275c76ae3 /Userland/DevTools/GMLPlayground | |
parent | 75c8e07cc386a41ee03c3d0a884deec3323a491c (diff) | |
download | serenity-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.cpp | 2 |
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&) { |