#include "editor/editor_command_palette.h"
#include "core/os/keyboard.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/gui/editor_toaster.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/control.h"
#include "scene/gui/margin_container.h"
#include "scene/gui/tree.h"
EditorCommandPalette *EditorCommandPalette::singleton = …;
static Rect2i prev_rect = …;
static bool was_showed = …;
float EditorCommandPalette::_score_path(const String &p_search, const String &p_path) { … }
void EditorCommandPalette::_update_command_search(const String &search_text) { … }
void EditorCommandPalette::_bind_methods() { … }
void EditorCommandPalette::_notification(int p_what) { … }
void EditorCommandPalette::_sbox_input(const Ref<InputEvent> &p_event) { … }
void EditorCommandPalette::_confirmed() { … }
void EditorCommandPalette::open_popup() { … }
void EditorCommandPalette::get_actions_list(List<String> *p_list) const { … }
void EditorCommandPalette::remove_command(String p_key_name) { … }
void EditorCommandPalette::add_command(String p_command_name, String p_key_name, Callable p_action, Vector<Variant> arguments, const Ref<Shortcut> &p_shortcut) { … }
void EditorCommandPalette::_add_command(String p_command_name, String p_key_name, Callable p_binded_action, String p_shortcut_text) { … }
void EditorCommandPalette::execute_command(const String &p_command_key) { … }
void EditorCommandPalette::register_shortcuts_as_command() { … }
Ref<Shortcut> EditorCommandPalette::add_shortcut_command(const String &p_command, const String &p_key, Ref<Shortcut> p_shortcut) { … }
void EditorCommandPalette::_save_history() const { … }
EditorCommandPalette *EditorCommandPalette::get_singleton() { … }
EditorCommandPalette::EditorCommandPalette() { … }
Ref<Shortcut> ED_SHORTCUT_AND_COMMAND(const String &p_path, const String &p_name, Key p_keycode, String p_command_name) { … }
Ref<Shortcut> ED_SHORTCUT_ARRAY_AND_COMMAND(const String &p_path, const String &p_name, const PackedInt32Array &p_keycodes, String p_command_name) { … }