mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 13:47:12 +01:00
Moved ScriptEditorPlugin and ScriptEditor out from the editor folder.
This commit is contained in:
parent
de757b8b02
commit
65c91c6899
@ -75,7 +75,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
static Node *_find_first_script(Node *p_root, Node *p_node) {
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
class Resource;
|
||||
|
@ -55,7 +55,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor_plugin.h"
|
||||
#include "modules/code_editor/script_editor_plugin.h"
|
||||
#endif
|
||||
|
||||
class ConfigFile;
|
||||
|
@ -60,7 +60,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
static int _get_pad(int p_alignment, int p_n) {
|
||||
|
@ -66,7 +66,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
#define CONTRIBUTE_URL vformat("%s/community/contributing/updating_the_class_reference.html", VERSION_DOCS_URL)
|
||||
|
@ -193,7 +193,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#include "modules/code_editor/script_text_editor.h"
|
||||
#include "modules/code_editor/text_editor.h"
|
||||
#endif
|
||||
|
@ -77,7 +77,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
class ConfigFile;
|
||||
|
@ -72,7 +72,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor_base.h"
|
||||
#endif
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
EditorRun::Status EditorRun::get_status() const {
|
||||
|
@ -103,7 +103,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
// Min and Max are power of two in order to play nicely with successive increment.
|
||||
|
@ -102,7 +102,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
#define DISTANCE_DEFAULT 4
|
||||
|
@ -99,7 +99,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
void SceneTreeDock::_nodes_drag_begin() {
|
||||
|
@ -67,7 +67,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor_base.h"
|
||||
#endif
|
||||
|
||||
|
@ -70,7 +70,7 @@
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
void EditorSettingsDialog::ok_pressed() {
|
||||
|
@ -86,7 +86,7 @@
|
||||
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
/* Static members */
|
||||
|
@ -6,7 +6,7 @@ env_mlp = env.Clone()
|
||||
|
||||
sources = [
|
||||
"register_types.cpp",
|
||||
|
||||
|
||||
"code_text_editor.cpp",
|
||||
"script_text_editor.cpp",
|
||||
"text_editor.cpp",
|
||||
@ -16,8 +16,8 @@ sources = [
|
||||
"find_replace_bar.cpp",
|
||||
"script_editor_quick_open.cpp",
|
||||
|
||||
"editor/script_editor_plugin.cpp",
|
||||
"editor/script_editor.cpp",
|
||||
"script_editor_plugin.cpp",
|
||||
"script_editor.cpp",
|
||||
]
|
||||
|
||||
env_mlp.add_source_files(env.modules_sources, sources)
|
||||
|
@ -67,7 +67,7 @@
|
||||
#include "find_replace_bar.h"
|
||||
#include "goto_line_dialog.h"
|
||||
|
||||
#include "editor/script_editor.h"
|
||||
#include "script_editor.h"
|
||||
|
||||
// This function should be used to handle shortcuts that could otherwise
|
||||
// be handled too late if they weren't handled here.
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
#include "register_types.h"
|
||||
|
||||
#include "editor/script_editor.h"
|
||||
#include "editor/script_editor_plugin.h"
|
||||
#include "script_editor.h"
|
||||
#include "script_editor_plugin.h"
|
||||
|
||||
#include "script_editor_base.h"
|
||||
//#include "script_text_editor.h"
|
||||
|
@ -91,9 +91,9 @@
|
||||
#include "scene/resources/texture.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
|
||||
#include "../script_editor_quick_open.h"
|
||||
#include "../script_text_editor.h"
|
||||
#include "../text_editor.h"
|
||||
#include "script_editor_quick_open.h"
|
||||
#include "script_text_editor.h"
|
||||
#include "text_editor.h"
|
||||
|
||||
#include "modules/modules_enabled.gen.h"
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include "core/variant/variant.h"
|
||||
#include "core/containers/vector.h"
|
||||
|
||||
#include "../script_editor_base.h"
|
||||
#include "script_editor_base.h"
|
||||
|
||||
class Button;
|
||||
class ConfigFile;
|
@ -90,9 +90,9 @@
|
||||
#include "scene/resources/texture.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
|
||||
#include "../script_editor_quick_open.h"
|
||||
#include "../script_text_editor.h"
|
||||
#include "../text_editor.h"
|
||||
#include "script_editor_quick_open.h"
|
||||
#include "script_text_editor.h"
|
||||
#include "text_editor.h"
|
||||
|
||||
#include "script_editor.h"
|
||||
|
@ -71,7 +71,7 @@
|
||||
#include "script_editor_quick_open.h"
|
||||
|
||||
#include "connection_info_dialog.h"
|
||||
#include "editor/script_editor.h"
|
||||
#include "script_editor.h"
|
||||
#include "goto_line_dialog.h"
|
||||
#include "find_replace_bar.h"
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "scene/resources/text_file.h"
|
||||
#include "scene/resources/texture.h"
|
||||
|
||||
#include "editor/script_editor.h"
|
||||
#include "script_editor.h"
|
||||
#include "goto_line_dialog.h"
|
||||
#include "find_replace_bar.h"
|
||||
|
||||
|
@ -51,7 +51,7 @@ Ref<ResourceFormatSaverCScript> resource_saver_cscript;
|
||||
#include "editor/editor_settings.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
class EditorExportCScript : public EditorExportPlugin {
|
||||
|
@ -51,7 +51,7 @@ Ref<ResourceFormatSaverGDScript> resource_saver_gd;
|
||||
#include "editor/gdscript_highlighter.h"
|
||||
|
||||
#ifdef MODULE_CODE_EDITOR_ENABLED
|
||||
#include "modules/code_editor/editor/script_editor.h"
|
||||
#include "modules/code_editor/script_editor.h"
|
||||
#endif
|
||||
|
||||
class EditorExportGDScript : public EditorExportPlugin {
|
||||
|
Loading…
Reference in New Issue
Block a user