Moved ScriptEditorPlugin and ScriptEditor out from the editor folder.

This commit is contained in:
Relintai 2023-02-18 15:08:56 +01:00
parent de757b8b02
commit 65c91c6899
26 changed files with 32 additions and 32 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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;

View File

@ -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) {

View File

@ -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)

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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 {

View File

@ -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.

View File

@ -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

View File

@ -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() {

View File

@ -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

View File

@ -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() {

View File

@ -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 */

View File

@ -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)

View File

@ -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.

View File

@ -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"

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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 {

View File

@ -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 {