diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index 839e4fa76..c921c21a0 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -75,7 +75,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif static Node *_find_first_script(Node *p_root, Node *p_node) { diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 99ba1c10c..5b0e67772 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -46,7 +46,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif class Resource; diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 051e5de02..22a00fe93 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -60,7 +60,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif static int _get_pad(int p_alignment, int p_n) { diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp index f680b3275..d088dd052 100644 --- a/editor/editor_help.cpp +++ b/editor/editor_help.cpp @@ -66,7 +66,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif #define CONTRIBUTE_URL vformat("%s/community/contributing/updating_the_class_reference.html", VERSION_DOCS_URL) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 40fe95fc6..074bc6e4a 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -193,9 +193,9 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" -#include "editor_code_editor/script_text_editor.h" -#include "editor_code_editor/text_editor.h" +#include "editor_code_editor/editor_script_editor.h" +#include "editor_code_editor/editor_script_text_editor.h" +#include "editor_code_editor/editor_text_editor.h" #endif class Camera; diff --git a/editor/editor_plugin.cpp b/editor/editor_plugin.cpp index 39205ca03..83a0362e3 100644 --- a/editor/editor_plugin.cpp +++ b/editor/editor_plugin.cpp @@ -77,7 +77,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif class ConfigFile; diff --git a/editor/editor_resource_picker.cpp b/editor/editor_resource_picker.cpp index c21a52b23..e3fd74109 100644 --- a/editor/editor_resource_picker.cpp +++ b/editor/editor_resource_picker.cpp @@ -72,8 +72,8 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" -#include "editor_code_editor/script_editor_base.h" +#include "editor_code_editor/editor_script_editor.h" +#include "editor_code_editor/editor_script_editor_base.h" #endif HashMap> EditorResourcePicker::allowed_types_cache; diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index 4d551a180..6854fa974 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -45,7 +45,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif EditorRun::Status EditorRun::get_status() const { diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index b3fd1da59..8b286d3ec 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -103,7 +103,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif // Min and Max are power of two in order to play nicely with successive increment. diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 3cafc8801..2ce2d79f9 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -102,7 +102,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif #define DISTANCE_DEFAULT 4 diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp index a49024054..c70cea54d 100644 --- a/editor/scene_tree_dock.cpp +++ b/editor/scene_tree_dock.cpp @@ -99,7 +99,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif void SceneTreeDock::_nodes_drag_begin() { diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index cac8de6c5..63f629319 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -67,8 +67,8 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" -#include "editor_code_editor/script_editor_base.h" +#include "editor_code_editor/editor_script_editor.h" +#include "editor_code_editor/editor_script_editor_base.h" #endif Node *SceneTreeEditor::get_scene_node() { diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp index f4ec6d9c4..589fca8ae 100644 --- a/editor/settings_config_dialog.cpp +++ b/editor/settings_config_dialog.cpp @@ -70,7 +70,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif void EditorSettingsDialog::ok_pressed() { diff --git a/editor_modules/editor_code_editor/SCsub b/editor_modules/editor_code_editor/SCsub index 58533ae86..9e3f19e89 100644 --- a/editor_modules/editor_code_editor/SCsub +++ b/editor_modules/editor_code_editor/SCsub @@ -7,17 +7,17 @@ env_mlp = env.Clone() sources = [ "register_types.cpp", - "code_text_editor.cpp", - "script_text_editor.cpp", - "text_editor.cpp", - "script_editor_base.cpp", - "connection_info_dialog.cpp", - "goto_line_dialog.cpp", - "find_replace_bar.cpp", - "script_editor_quick_open.cpp", + "editor_code_text_editor.cpp", + "editor_script_text_editor.cpp", + "editor_text_editor.cpp", + "editor_script_editor_base.cpp", + "editor_connection_info_dialog.cpp", + "editor_goto_line_dialog.cpp", + "editor_find_replace_bar.cpp", + "editor_script_editor_quick_open.cpp", "script_editor_plugin.cpp", - "script_editor.cpp", + "editor_script_editor.cpp", ] env_mlp.add_source_files(env.modules_sources, sources) diff --git a/editor_modules/editor_code_editor/code_text_editor.cpp b/editor_modules/editor_code_editor/editor_code_text_editor.cpp similarity index 99% rename from editor_modules/editor_code_editor/code_text_editor.cpp rename to editor_modules/editor_code_editor/editor_code_text_editor.cpp index ca826db96..a4ce7a070 100644 --- a/editor_modules/editor_code_editor/code_text_editor.cpp +++ b/editor_modules/editor_code_editor/editor_code_text_editor.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "code_text_editor.h" +#include "editor_code_text_editor.h" #include "core/containers/vector.h" #include "core/input/input.h" @@ -64,10 +64,10 @@ #include "scene/resources/font.h" #include "scene/resources/texture.h" -#include "find_replace_bar.h" -#include "goto_line_dialog.h" +#include "editor_find_replace_bar.h" +#include "editor_goto_line_dialog.h" -#include "script_editor.h" +#include "editor_script_editor.h" // This function should be used to handle shortcuts that could otherwise // be handled too late if they weren't handled here. diff --git a/editor_modules/editor_code_editor/code_text_editor.h b/editor_modules/editor_code_editor/editor_code_text_editor.h similarity index 99% rename from editor_modules/editor_code_editor/code_text_editor.h rename to editor_modules/editor_code_editor/editor_code_text_editor.h index ebec06c2f..c667b7472 100644 --- a/editor_modules/editor_code_editor/code_text_editor.h +++ b/editor_modules/editor_code_editor/editor_code_text_editor.h @@ -1,5 +1,5 @@ -#ifndef CODE_EDITOR_H -#define CODE_EDITOR_H +#ifndef EDITOR_CODE_EDITOR_H +#define EDITOR_CODE_EDITOR_H /*************************************************************************/ /* code_editor.h */ diff --git a/editor_modules/editor_code_editor/connection_info_dialog.cpp b/editor_modules/editor_code_editor/editor_connection_info_dialog.cpp similarity index 99% rename from editor_modules/editor_code_editor/connection_info_dialog.cpp rename to editor_modules/editor_code_editor/editor_connection_info_dialog.cpp index a92c0b737..a363416f5 100644 --- a/editor_modules/editor_code_editor/connection_info_dialog.cpp +++ b/editor_modules/editor_code_editor/editor_connection_info_dialog.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "connection_info_dialog.h" +#include "editor_connection_info_dialog.h" #include "editor/editor_node.h" #include "editor/editor_scale.h" diff --git a/editor_modules/editor_code_editor/connection_info_dialog.h b/editor_modules/editor_code_editor/editor_connection_info_dialog.h similarity index 96% rename from editor_modules/editor_code_editor/connection_info_dialog.h rename to editor_modules/editor_code_editor/editor_connection_info_dialog.h index 624765726..7959dfdb6 100644 --- a/editor_modules/editor_code_editor/connection_info_dialog.h +++ b/editor_modules/editor_code_editor/editor_connection_info_dialog.h @@ -1,5 +1,5 @@ -#ifndef CONNECTION_INFO_DIALOG_H -#define CONNECTION_INFO_DIALOG_H +#ifndef EDITOR_CONNECTION_INFO_DIALOG_H +#define EDITOR_CONNECTION_INFO_DIALOG_H /*************************************************************************/ /* script_text_editor.h */ diff --git a/editor_modules/editor_code_editor/find_replace_bar.cpp b/editor_modules/editor_code_editor/editor_find_replace_bar.cpp similarity index 99% rename from editor_modules/editor_code_editor/find_replace_bar.cpp rename to editor_modules/editor_code_editor/editor_find_replace_bar.cpp index 22d98d190..e738cbecc 100644 --- a/editor_modules/editor_code_editor/find_replace_bar.cpp +++ b/editor_modules/editor_code_editor/editor_find_replace_bar.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "find_replace_bar.h" +#include "editor_find_replace_bar.h" #include "core/input/input.h" #include "core/input/input_event.h" diff --git a/editor_modules/editor_code_editor/find_replace_bar.h b/editor_modules/editor_code_editor/editor_find_replace_bar.h similarity index 98% rename from editor_modules/editor_code_editor/find_replace_bar.h rename to editor_modules/editor_code_editor/editor_find_replace_bar.h index 7a26a0730..1f64b9034 100644 --- a/editor_modules/editor_code_editor/find_replace_bar.h +++ b/editor_modules/editor_code_editor/editor_find_replace_bar.h @@ -1,5 +1,5 @@ -#ifndef FIND_REPLACE_BAR_H -#define FIND_REPLACE_BAR_H +#ifndef EDITOR_FIND_REPLACE_BAR_H +#define EDITOR_FIND_REPLACE_BAR_H /*************************************************************************/ /* code_editor.h */ diff --git a/editor_modules/editor_code_editor/goto_line_dialog.cpp b/editor_modules/editor_code_editor/editor_goto_line_dialog.cpp similarity index 98% rename from editor_modules/editor_code_editor/goto_line_dialog.cpp rename to editor_modules/editor_code_editor/editor_goto_line_dialog.cpp index 978ccdfe9..8cafdf3fb 100644 --- a/editor_modules/editor_code_editor/goto_line_dialog.cpp +++ b/editor_modules/editor_code_editor/editor_goto_line_dialog.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "goto_line_dialog.h" +#include "editor_goto_line_dialog.h" #include "scene/gui/line_edit.h" #include "scene/gui/text_edit.h" diff --git a/editor_modules/editor_code_editor/goto_line_dialog.h b/editor_modules/editor_code_editor/editor_goto_line_dialog.h similarity index 97% rename from editor_modules/editor_code_editor/goto_line_dialog.h rename to editor_modules/editor_code_editor/editor_goto_line_dialog.h index 97ef72b1d..5326b5ec9 100644 --- a/editor_modules/editor_code_editor/goto_line_dialog.h +++ b/editor_modules/editor_code_editor/editor_goto_line_dialog.h @@ -1,5 +1,5 @@ -#ifndef GOTO_LINE_DIALOH_H -#define GOTO_LINE_DIALOH_H +#ifndef EDITOR_GOTO_LINE_DIALOH_H +#define EDITOR_GOTO_LINE_DIALOH_H /*************************************************************************/ /* code_editor.h */ diff --git a/editor_modules/editor_code_editor/script_editor.cpp b/editor_modules/editor_code_editor/editor_script_editor.cpp similarity index 99% rename from editor_modules/editor_code_editor/script_editor.cpp rename to editor_modules/editor_code_editor/editor_script_editor.cpp index 20ca3d01a..4756655c5 100644 --- a/editor_modules/editor_code_editor/script_editor.cpp +++ b/editor_modules/editor_code_editor/editor_script_editor.cpp @@ -29,7 +29,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "script_editor.h" +#include "editor_script_editor.h" #include "core/config/project_settings.h" #include "core/containers/pair.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 "editor_script_editor_quick_open.h" +#include "editor_script_text_editor.h" +#include "editor_text_editor.h" #include "modules/modules_enabled.gen.h" diff --git a/editor_modules/editor_code_editor/script_editor.h b/editor_modules/editor_code_editor/editor_script_editor.h similarity index 99% rename from editor_modules/editor_code_editor/script_editor.h rename to editor_modules/editor_code_editor/editor_script_editor.h index cde447755..2cee2f83f 100644 --- a/editor_modules/editor_code_editor/script_editor.h +++ b/editor_modules/editor_code_editor/editor_script_editor.h @@ -1,5 +1,5 @@ -#ifndef SCRIPT_EDITOR_H -#define SCRIPT_EDITOR_H +#ifndef EDITOR_SCRIPT_EDITOR_H +#define EDITOR_SCRIPT_EDITOR_H /*************************************************************************/ /* script_editor_plugin.h */ @@ -52,7 +52,7 @@ #include "core/variant/variant.h" #include "core/containers/vector.h" -#include "script_editor_base.h" +#include "editor_script_editor_base.h" class Button; class ConfigFile; diff --git a/editor_modules/editor_code_editor/script_editor_base.cpp b/editor_modules/editor_code_editor/editor_script_editor_base.cpp similarity index 98% rename from editor_modules/editor_code_editor/script_editor_base.cpp rename to editor_modules/editor_code_editor/editor_script_editor_base.cpp index be1608ce8..4a46b4928 100644 --- a/editor_modules/editor_code_editor/script_editor_base.cpp +++ b/editor_modules/editor_code_editor/editor_script_editor_base.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "script_editor_base.h" +#include "editor_script_editor_base.h" void ScriptEditorBase::_bind_methods() { ADD_SIGNAL(MethodInfo("name_changed")); diff --git a/editor_modules/editor_code_editor/script_editor_base.h b/editor_modules/editor_code_editor/editor_script_editor_base.h similarity index 98% rename from editor_modules/editor_code_editor/script_editor_base.h rename to editor_modules/editor_code_editor/editor_script_editor_base.h index 69cd34d92..1af61f809 100644 --- a/editor_modules/editor_code_editor/script_editor_base.h +++ b/editor_modules/editor_code_editor/editor_script_editor_base.h @@ -1,5 +1,5 @@ -#ifndef SCRIPT_EDITOR_BASE_H -#define SCRIPT_EDITOR_BASE_H +#ifndef EDITOR_SCRIPT_EDITOR_BASE_H +#define EDITOR_SCRIPT_EDITOR_BASE_H /*************************************************************************/ /* script_editor_plugin.h */ diff --git a/editor_modules/editor_code_editor/script_editor_quick_open.cpp b/editor_modules/editor_code_editor/editor_script_editor_quick_open.cpp similarity index 99% rename from editor_modules/editor_code_editor/script_editor_quick_open.cpp rename to editor_modules/editor_code_editor/editor_script_editor_quick_open.cpp index f69f7c72a..272f462b4 100644 --- a/editor_modules/editor_code_editor/script_editor_quick_open.cpp +++ b/editor_modules/editor_code_editor/editor_script_editor_quick_open.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "script_editor_quick_open.h" +#include "editor_script_editor_quick_open.h" #include "core/os/keyboard.h" diff --git a/editor_modules/editor_code_editor/script_editor_quick_open.h b/editor_modules/editor_code_editor/editor_script_editor_quick_open.h similarity index 97% rename from editor_modules/editor_code_editor/script_editor_quick_open.h rename to editor_modules/editor_code_editor/editor_script_editor_quick_open.h index 451193cf9..9bc0b6002 100644 --- a/editor_modules/editor_code_editor/script_editor_quick_open.h +++ b/editor_modules/editor_code_editor/editor_script_editor_quick_open.h @@ -1,5 +1,5 @@ -#ifndef SCRIPT_EDITOR_QUICK_OPEN_H -#define SCRIPT_EDITOR_QUICK_OPEN_H +#ifndef EDITOR_SCRIPT_EDITOR_QUICK_OPEN_H +#define EDITOR_SCRIPT_EDITOR_QUICK_OPEN_H /*************************************************************************/ /* script_editor_plugin.h */ diff --git a/editor_modules/editor_code_editor/script_text_editor.cpp b/editor_modules/editor_code_editor/editor_script_text_editor.cpp similarity index 99% rename from editor_modules/editor_code_editor/script_text_editor.cpp rename to editor_modules/editor_code_editor/editor_script_text_editor.cpp index da45d714a..bf27af971 100644 --- a/editor_modules/editor_code_editor/script_text_editor.cpp +++ b/editor_modules/editor_code_editor/editor_script_text_editor.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "script_text_editor.h" +#include "editor_script_text_editor.h" #include "core/config/project_settings.h" #include "core/containers/rb_set.h" @@ -68,12 +68,13 @@ #include "scene/main/node.h" #include "scene/main/scene_tree.h" #include "scene/resources/texture.h" -#include "script_editor_quick_open.h" -#include "connection_info_dialog.h" -#include "script_editor.h" -#include "goto_line_dialog.h" -#include "find_replace_bar.h" +#include "editor_script_editor_quick_open.h" + +#include "editor_connection_info_dialog.h" +#include "editor_script_editor.h" +#include "editor_goto_line_dialog.h" +#include "editor_find_replace_bar.h" Vector ScriptTextEditor::get_functions() { String errortxt; diff --git a/editor_modules/editor_code_editor/script_text_editor.h b/editor_modules/editor_code_editor/editor_script_text_editor.h similarity index 98% rename from editor_modules/editor_code_editor/script_text_editor.h rename to editor_modules/editor_code_editor/editor_script_text_editor.h index 3e47af93f..28e83200f 100644 --- a/editor_modules/editor_code_editor/script_text_editor.h +++ b/editor_modules/editor_code_editor/editor_script_text_editor.h @@ -1,5 +1,6 @@ -#ifndef SCRIPT_TEXT_EDITOR_H -#define SCRIPT_TEXT_EDITOR_H +#ifndef EDITOR_SCRIPT_TEXT_EDITOR_H +#define EDITOR_SCRIPT_TEXT_EDITOR_H + /*************************************************************************/ /* script_text_editor.h */ /*************************************************************************/ @@ -32,12 +33,13 @@ #include "scene/gui/dialogs.h" -#include "script_editor_base.h" +#include "editor_script_editor_base.h" #include "core/containers/vector.h" #include "core/object/reference.h" -#include "code_text_editor.h" +#include "editor_code_text_editor.h" + #include "core/containers/list.h" #include "core/containers/rb_map.h" #include "core/math/color.h" diff --git a/editor_modules/editor_code_editor/text_editor.cpp b/editor_modules/editor_code_editor/editor_text_editor.cpp similarity index 99% rename from editor_modules/editor_code_editor/text_editor.cpp rename to editor_modules/editor_code_editor/editor_text_editor.cpp index c78621618..5be573d70 100644 --- a/editor_modules/editor_code_editor/text_editor.cpp +++ b/editor_modules/editor_code_editor/editor_text_editor.cpp @@ -28,7 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "text_editor.h" +#include "editor_text_editor.h" #include "core/os/keyboard.h" #include "editor/editor_node.h" @@ -50,9 +50,9 @@ #include "scene/resources/text_file.h" #include "scene/resources/texture.h" -#include "script_editor.h" -#include "goto_line_dialog.h" -#include "find_replace_bar.h" +#include "editor_script_editor.h" +#include "editor_goto_line_dialog.h" +#include "editor_find_replace_bar.h" void TextEditor::add_syntax_highlighter(SyntaxHighlighter *p_highlighter) { highlighters[p_highlighter->get_name()] = p_highlighter; diff --git a/editor_modules/editor_code_editor/text_editor.h b/editor_modules/editor_code_editor/editor_text_editor.h similarity index 97% rename from editor_modules/editor_code_editor/text_editor.h rename to editor_modules/editor_code_editor/editor_text_editor.h index 1cab5d2ea..6252e7f43 100644 --- a/editor_modules/editor_code_editor/text_editor.h +++ b/editor_modules/editor_code_editor/editor_text_editor.h @@ -1,5 +1,6 @@ -#ifndef TEXT_EDITOR_H -#define TEXT_EDITOR_H +#ifndef EDITOR_TEXT_EDITOR_H +#define EDITOR_TEXT_EDITOR_H + /*************************************************************************/ /* text_editor.h */ /*************************************************************************/ @@ -30,9 +31,10 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "script_editor_base.h" +#include "editor_script_editor_base.h" + +#include "editor_code_text_editor.h" -#include "code_text_editor.h" #include "core/containers/list.h" #include "core/containers/rb_map.h" #include "core/containers/vector.h" diff --git a/editor_modules/editor_code_editor/register_types.cpp b/editor_modules/editor_code_editor/register_types.cpp index 11c91c67f..6a79ee376 100644 --- a/editor_modules/editor_code_editor/register_types.cpp +++ b/editor_modules/editor_code_editor/register_types.cpp @@ -1,10 +1,10 @@ #include "register_types.h" -#include "script_editor.h" +#include "editor_script_editor.h" #include "script_editor_plugin.h" -#include "script_editor_base.h" +#include "editor_script_editor_base.h" //#include "script_text_editor.h" //#include "text_editor.h" //#include "code_text_editor.h" diff --git a/editor_modules/editor_code_editor/script_editor_plugin.cpp b/editor_modules/editor_code_editor/script_editor_plugin.cpp index c3fa5a89a..f13c24dd5 100644 --- a/editor_modules/editor_code_editor/script_editor_plugin.cpp +++ b/editor_modules/editor_code_editor/script_editor_plugin.cpp @@ -90,11 +90,11 @@ #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 "editor_script_editor_quick_open.h" +#include "editor_script_text_editor.h" +#include "editor_text_editor.h" -#include "script_editor.h" +#include "editor_script_editor.h" static bool _is_built_in_script(Script *p_script) { String path = p_script->get_path(); diff --git a/editor_modules/shader_editor/shader_editor_plugin.cpp b/editor_modules/shader_editor/shader_editor_plugin.cpp index 98eda0902..2310c116d 100644 --- a/editor_modules/shader_editor/shader_editor_plugin.cpp +++ b/editor_modules/shader_editor/shader_editor_plugin.cpp @@ -65,8 +65,8 @@ #include "servers/rendering/shader_types.h" #include "servers/rendering_server.h" -#include "editor_code_editor/goto_line_dialog.h" -#include "editor_code_editor/find_replace_bar.h" +#include "editor_code_editor/editor_goto_line_dialog.h" +#include "editor_code_editor/editor_find_replace_bar.h" struct ScriptCodeCompletionOption; diff --git a/editor_modules/shader_editor/shader_editor_plugin.h b/editor_modules/shader_editor/shader_editor_plugin.h index 5bad23037..f8f53d90d 100644 --- a/editor_modules/shader_editor/shader_editor_plugin.h +++ b/editor_modules/shader_editor/shader_editor_plugin.h @@ -30,7 +30,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#include "editor_code_editor/code_text_editor.h" +#include "editor_code_editor/editor_code_text_editor.h" #include "editor/editor_plugin.h" #include "scene/gui/margin_container.h" diff --git a/editor_modules/text_editor/text_editor_vanilla_editor.cpp b/editor_modules/text_editor/text_editor_vanilla_editor.cpp index a013f7339..372c89f76 100644 --- a/editor_modules/text_editor/text_editor_vanilla_editor.cpp +++ b/editor_modules/text_editor/text_editor_vanilla_editor.cpp @@ -14,8 +14,8 @@ #include "scene/gui/text_edit.h" #include "scene/gui/texture_rect.h" -#include "editor_code_editor/code_text_editor.h" -#include "editor_code_editor/find_replace_bar.h" +#include "editor_code_editor/editor_code_text_editor.h" +#include "editor_code_editor/editor_find_replace_bar.h" #include "scene/resources/dynamic_font.h" diff --git a/main/main.cpp b/main/main.cpp index e044d5227..5a7bafa71 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -86,7 +86,7 @@ #include "modules/modules_enabled.gen.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif /* Static members */ diff --git a/modules/cscript/register_types.cpp b/modules/cscript/register_types.cpp index 4e3a077a4..a8ea560ed 100644 --- a/modules/cscript/register_types.cpp +++ b/modules/cscript/register_types.cpp @@ -51,7 +51,7 @@ Ref resource_saver_cscript; #include "editor/editor_settings.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif class EditorExportCScript : public EditorExportPlugin { diff --git a/modules/gdscript/register_types.cpp b/modules/gdscript/register_types.cpp index e470c6398..5c2aa3237 100644 --- a/modules/gdscript/register_types.cpp +++ b/modules/gdscript/register_types.cpp @@ -51,7 +51,7 @@ Ref resource_saver_gd; #include "editor/gdscript_highlighter.h" #ifdef MODULE_EDITOR_CODE_EDITOR_ENABLED -#include "editor_code_editor/script_editor.h" +#include "editor_code_editor/editor_script_editor.h" #endif class EditorExportGDScript : public EditorExportPlugin {