You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Merge pull request #29547 from santouits/filter-scripts
Add filter search for script list and the members in the script editor
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/script_create_dialog.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
#include "scene/gui/menu_button.h"
|
||||
#include "scene/gui/split_container.h"
|
||||
#include "scene/gui/tab_container.h"
|
||||
@@ -213,6 +214,9 @@ class ScriptEditor : public PanelContainer {
|
||||
ItemList *script_list;
|
||||
HSplitContainer *script_split;
|
||||
ItemList *members_overview;
|
||||
LineEdit *filter_scripts;
|
||||
LineEdit *filter_methods;
|
||||
VBoxContainer *scripts_vbox;
|
||||
VBoxContainer *overview_vbox;
|
||||
HBoxContainer *buttons_hbox;
|
||||
Label *filename;
|
||||
@@ -341,6 +345,8 @@ class ScriptEditor : public PanelContainer {
|
||||
void _update_members_overview_visibility();
|
||||
void _update_members_overview();
|
||||
void _toggle_members_overview_alpha_sort(bool p_alphabetic_sort);
|
||||
void _filter_scripts_text_changed(const String &p_newtext);
|
||||
void _filter_methods_text_changed(const String &p_newtext);
|
||||
void _update_script_names();
|
||||
void _update_script_connections();
|
||||
bool _sort_list_on_update;
|
||||
|
||||
Reference in New Issue
Block a user