summaryrefslogtreecommitdiffstats
path: root/scene/gui/code_edit.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-06 21:02:52 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-06 22:54:38 +0200
commitd8ff69d53c239fca97f212791ec38022a9a7913c (patch)
treeccbec32c4d9bba82a7cc2c94eb3ef050dc0efb28 /scene/gui/code_edit.h
parent8449592d92eaeef990f5502b419d491ee3eeb7a6 (diff)
downloadredot-engine-d8ff69d53c239fca97f212791ec38022a9a7913c.tar.gz
Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the generated gdvirtual.gen.inc, and remove excessive includes from the codebase. This should also allow Resource to use GDVIRTUAL macros, which wasn't possible previously due to a circular dependency.
Diffstat (limited to 'scene/gui/code_edit.h')
-rw-r--r--scene/gui/code_edit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h
index addbb6e468..1bd4db9e2c 100644
--- a/scene/gui/code_edit.h
+++ b/scene/gui/code_edit.h
@@ -31,6 +31,7 @@
#ifndef CODE_EDIT_H
#define CODE_EDIT_H
+#include "core/object/script_language.h"
#include "scene/gui/text_edit.h"
class CodeEdit : public TextEdit {