You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add "Go To" menu to the script editor and move the bookmark and breakpoint menus there
This commit is contained in:
@@ -70,7 +70,8 @@ class ScriptTextEditor : public ScriptEditorBase {
|
||||
|
||||
MenuButton *edit_menu;
|
||||
MenuButton *search_menu;
|
||||
MenuButton *bookmarks_menu;
|
||||
PopupMenu *bookmarks_menu;
|
||||
PopupMenu *breakpoints_menu;
|
||||
PopupMenu *highlighter_menu;
|
||||
PopupMenu *context_menu;
|
||||
|
||||
@@ -143,6 +144,8 @@ class ScriptTextEditor : public ScriptEditorBase {
|
||||
|
||||
protected:
|
||||
static void _code_complete_scripts(void *p_ud, const String &p_code, List<String> *r_options, bool &r_force);
|
||||
void _update_breakpoint_list();
|
||||
void _breakpoint_item_pressed(int p_idx);
|
||||
void _breakpoint_toggled(int p_row);
|
||||
|
||||
void _validate_script(); // No longer virtual.
|
||||
|
||||
Reference in New Issue
Block a user