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 #14792 from Krakean/enh-1
A few small Debugger->Errors tab enhancements:
This commit is contained in:
@@ -62,6 +62,10 @@ class ScriptEditorDebugger : public Control {
|
||||
MESSAGE_SUCCESS,
|
||||
};
|
||||
|
||||
enum ItemMenu {
|
||||
ITEM_MENU_COPY_ERROR,
|
||||
};
|
||||
|
||||
AcceptDialog *msgdialog;
|
||||
|
||||
Button *debugger_button;
|
||||
@@ -85,6 +89,8 @@ class ScriptEditorDebugger : public Control {
|
||||
ItemList *error_list;
|
||||
ItemList *error_stack;
|
||||
Tree *inspect_scene_tree;
|
||||
Button *clearbutton;
|
||||
PopupMenu *item_menu;
|
||||
|
||||
int error_count;
|
||||
int last_error_count;
|
||||
@@ -175,6 +181,10 @@ class ScriptEditorDebugger : public Control {
|
||||
|
||||
void _set_remote_object(ObjectID p_id, ScriptEditorDebuggerInspectedObject *p_obj);
|
||||
void _clear_remote_objects();
|
||||
void _clear_errors_list();
|
||||
|
||||
void _error_list_item_rmb_selected(int p_item, const Vector2 &p_pos);
|
||||
void _item_menu_id_pressed(int p_option);
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
||||
Reference in New Issue
Block a user