|
@@ -36,6 +36,8 @@
|
|
#include "core/io/file_access.h"
|
|
#include "core/io/file_access.h"
|
|
#include "core/object/ref_counted.h"
|
|
#include "core/object/ref_counted.h"
|
|
|
|
|
|
|
|
+class GDScript;
|
|
|
|
+
|
|
class GDScriptTextDocument : public RefCounted {
|
|
class GDScriptTextDocument : public RefCounted {
|
|
GDCLASS(GDScriptTextDocument, RefCounted)
|
|
GDCLASS(GDScriptTextDocument, RefCounted)
|
|
protected:
|
|
protected:
|
|
@@ -49,6 +51,7 @@ protected:
|
|
void willSaveWaitUntil(const Variant &p_param);
|
|
void willSaveWaitUntil(const Variant &p_param);
|
|
void didSave(const Variant &p_param);
|
|
void didSave(const Variant &p_param);
|
|
|
|
|
|
|
|
+ void reload_script(Ref<GDScript> p_to_reload_script);
|
|
void sync_script_content(const String &p_path, const String &p_content);
|
|
void sync_script_content(const String &p_path, const String &p_content);
|
|
void show_native_symbol_in_editor(const String &p_symbol_id);
|
|
void show_native_symbol_in_editor(const String &p_symbol_id);
|
|
|
|
|