Merge pull request #116081 from arkology/goto_line_button

Convert "Line and column numbers" label to button
This commit is contained in:
Thaddeus Crews 2026-02-16 10:19:20 -06:00
commit d155457554
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
4 changed files with 24 additions and 12 deletions

View file

@ -639,6 +639,7 @@ TextEditorBase::TextEditorBase() {
code_editor->get_text_editor()->connect(SceneStringName(gui_input), callable_mp(this, &TextEditorBase::_text_edit_gui_input));
code_editor->connect("validate_script", callable_mp(this, &TextEditorBase::_validate_script));
code_editor->connect("load_theme_settings", callable_mp(this, &TextEditorBase::_load_theme_settings));
code_editor->connect("show_goto_popup", callable_mp(this, &TextEditorBase::_edit_option).bind(SEARCH_GOTO_LINE));
context_menu = memnew(PopupMenu);
context_menu->connect(SceneStringName(id_pressed), callable_mp(this, &TextEditorBase::_edit_option));