summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/language_server/gdscript_text_document.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-04 10:33:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-04 10:33:03 +0200
commitf36dda31856f20b6b8619c4ec12fbb4d0c1f9341 (patch)
treea550973324e004e68c463f7f2a5cde9990c825d3 /modules/gdscript/language_server/gdscript_text_document.h
parent38dd7537150b2b2fb5d63606b778d0e052f75101 (diff)
parentab0314938ed163af6a2167a8d40b2dd1ca9f4603 (diff)
downloadredot-engine-f36dda31856f20b6b8619c4ec12fbb4d0c1f9341.tar.gz
Merge pull request #66867 from Rindbee/implement-willSaveWaitUntil
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
Diffstat (limited to 'modules/gdscript/language_server/gdscript_text_document.h')
-rw-r--r--modules/gdscript/language_server/gdscript_text_document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/language_server/gdscript_text_document.h b/modules/gdscript/language_server/gdscript_text_document.h
index 87bc08a34e..456c7d71fe 100644
--- a/modules/gdscript/language_server/gdscript_text_document.h
+++ b/modules/gdscript/language_server/gdscript_text_document.h
@@ -45,6 +45,7 @@ protected:
void didOpen(const Variant &p_param);
void didClose(const Variant &p_param);
void didChange(const Variant &p_param);
+ void willSaveWaitUntil(const Variant &p_param);
void didSave(const Variant &p_param);
void sync_script_content(const String &p_path, const String &p_content);