You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Proper support for code editor autosaving (disabled by default)
This commit is contained in:
@@ -154,6 +154,7 @@ class ScriptEditor : public VBoxContainer {
|
||||
MenuButton *window_menu;
|
||||
MenuButton *debug_menu;
|
||||
MenuButton *help_menu;
|
||||
Timer *autosave_timer;
|
||||
uint64_t idle;
|
||||
|
||||
TabContainer *tab_container;
|
||||
@@ -195,6 +196,9 @@ class ScriptEditor : public VBoxContainer {
|
||||
void _show_debugger(bool p_show);
|
||||
void _update_window_menu();
|
||||
|
||||
void _editor_settings_changed();
|
||||
void _autosave_scripts();
|
||||
|
||||
static ScriptEditor *script_editor;
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
||||
Reference in New Issue
Block a user