Renamed code_editor.h and .cpp to code_text_editor.h and .cpp.

This commit is contained in:
Relintai 2023-02-18 15:02:21 +01:00
parent e32e63242b
commit de757b8b02
8 changed files with 17 additions and 12 deletions

View File

@ -30,7 +30,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "modules/code_editor/code_editor.h"
#include "modules/code_editor/code_text_editor.h"
#include "editor/editor_plugin.h"
#include "scene/gui/margin_container.h"

View File

@ -14,7 +14,7 @@
#include "scene/gui/text_edit.h"
#include "scene/gui/texture_rect.h"
#include "modules/code_editor/code_editor.h"
#include "modules/code_editor/code_text_editor.h"
#include "modules/code_editor/find_replace_bar.h"
#include "scene/resources/dynamic_font.h"

View File

@ -6,7 +6,8 @@ env_mlp = env.Clone()
sources = [
"register_types.cpp",
"code_editor.cpp",
"code_text_editor.cpp",
"script_text_editor.cpp",
"text_editor.cpp",
"script_editor_base.cpp",

View File

@ -28,7 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#include "code_editor.h"
#include "code_text_editor.h"
#include "core/containers/vector.h"
#include "core/input/input.h"
@ -69,8 +69,6 @@
#include "editor/script_editor.h"
/*** CODE EDITOR ****/
// This function should be used to handle shortcuts that could otherwise
// be handled too late if they weren't handled here.
void CodeTextEditor::_input(const Ref<InputEvent> &event) {

View File

@ -1,5 +1,6 @@
#ifndef CODE_EDITOR_H
#define CODE_EDITOR_H
/*************************************************************************/
/* code_editor.h */
/*************************************************************************/

View File

@ -1,19 +1,24 @@
#include "register_types.h"
#include "editor/script_editor_plugin.h"
#include "editor/script_editor.h"
#include "editor/script_editor_plugin.h"
#include "script_text_editor.h"
#include "text_editor.h"
#include "script_editor_base.h"
//#include "script_text_editor.h"
//#include "text_editor.h"
//#include "code_text_editor.h"
void register_code_editor_types(ModuleRegistrationLevel p_level) {
if (p_level == MODULE_REGISTRATION_LEVEL_SCENE) {
//ClassDB::register_class<>();
ClassDB::register_virtual_class<ScriptEditor>();
ClassDB::register_virtual_class<ScriptEditorBase>();
//ClassDB::register_class<TextEditor>();
//ClassDB::register_class<ScriptTextEditor>();
//ClassDB::register_class<CodeTextEditor>();
}
#ifdef TOOLS_ENABLED

View File

@ -37,7 +37,7 @@
#include "core/containers/vector.h"
#include "core/object/reference.h"
#include "code_editor.h"
#include "code_text_editor.h"
#include "core/containers/list.h"
#include "core/containers/rb_map.h"
#include "core/math/color.h"

View File

@ -32,7 +32,7 @@
#include "script_editor_base.h"
#include "code_editor.h"
#include "code_text_editor.h"
#include "core/containers/list.h"
#include "core/containers/rb_map.h"
#include "core/containers/vector.h"