mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 05:42:37 +02:00
Renamed code_editor.h and .cpp to code_text_editor.h and .cpp.
This commit is contained in:
parent
e32e63242b
commit
de757b8b02
@ -30,7 +30,7 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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 "editor/editor_plugin.h"
|
||||||
#include "scene/gui/margin_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "scene/gui/text_edit.h"
|
#include "scene/gui/text_edit.h"
|
||||||
#include "scene/gui/texture_rect.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 "modules/code_editor/find_replace_bar.h"
|
||||||
|
|
||||||
#include "scene/resources/dynamic_font.h"
|
#include "scene/resources/dynamic_font.h"
|
||||||
|
@ -6,7 +6,8 @@ env_mlp = env.Clone()
|
|||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
"register_types.cpp",
|
"register_types.cpp",
|
||||||
"code_editor.cpp",
|
|
||||||
|
"code_text_editor.cpp",
|
||||||
"script_text_editor.cpp",
|
"script_text_editor.cpp",
|
||||||
"text_editor.cpp",
|
"text_editor.cpp",
|
||||||
"script_editor_base.cpp",
|
"script_editor_base.cpp",
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
/* 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/containers/vector.h"
|
||||||
#include "core/input/input.h"
|
#include "core/input/input.h"
|
||||||
@ -69,8 +69,6 @@
|
|||||||
|
|
||||||
#include "editor/script_editor.h"
|
#include "editor/script_editor.h"
|
||||||
|
|
||||||
/*** CODE EDITOR ****/
|
|
||||||
|
|
||||||
// This function should be used to handle shortcuts that could otherwise
|
// This function should be used to handle shortcuts that could otherwise
|
||||||
// be handled too late if they weren't handled here.
|
// be handled too late if they weren't handled here.
|
||||||
void CodeTextEditor::_input(const Ref<InputEvent> &event) {
|
void CodeTextEditor::_input(const Ref<InputEvent> &event) {
|
@ -1,5 +1,6 @@
|
|||||||
#ifndef CODE_EDITOR_H
|
#ifndef CODE_EDITOR_H
|
||||||
#define CODE_EDITOR_H
|
#define CODE_EDITOR_H
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/* code_editor.h */
|
/* code_editor.h */
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
@ -1,19 +1,24 @@
|
|||||||
|
|
||||||
#include "register_types.h"
|
#include "register_types.h"
|
||||||
|
|
||||||
#include "editor/script_editor_plugin.h"
|
|
||||||
#include "editor/script_editor.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_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) {
|
void register_code_editor_types(ModuleRegistrationLevel p_level) {
|
||||||
if (p_level == MODULE_REGISTRATION_LEVEL_SCENE) {
|
if (p_level == MODULE_REGISTRATION_LEVEL_SCENE) {
|
||||||
//ClassDB::register_class<>();
|
//ClassDB::register_class<>();
|
||||||
ClassDB::register_virtual_class<ScriptEditor>();
|
ClassDB::register_virtual_class<ScriptEditor>();
|
||||||
|
|
||||||
ClassDB::register_virtual_class<ScriptEditorBase>();
|
ClassDB::register_virtual_class<ScriptEditorBase>();
|
||||||
|
|
||||||
|
//ClassDB::register_class<TextEditor>();
|
||||||
|
//ClassDB::register_class<ScriptTextEditor>();
|
||||||
|
//ClassDB::register_class<CodeTextEditor>();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "core/containers/vector.h"
|
#include "core/containers/vector.h"
|
||||||
#include "core/object/reference.h"
|
#include "core/object/reference.h"
|
||||||
|
|
||||||
#include "code_editor.h"
|
#include "code_text_editor.h"
|
||||||
#include "core/containers/list.h"
|
#include "core/containers/list.h"
|
||||||
#include "core/containers/rb_map.h"
|
#include "core/containers/rb_map.h"
|
||||||
#include "core/math/color.h"
|
#include "core/math/color.h"
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "script_editor_base.h"
|
#include "script_editor_base.h"
|
||||||
|
|
||||||
#include "code_editor.h"
|
#include "code_text_editor.h"
|
||||||
#include "core/containers/list.h"
|
#include "core/containers/list.h"
|
||||||
#include "core/containers/rb_map.h"
|
#include "core/containers/rb_map.h"
|
||||||
#include "core/containers/vector.h"
|
#include "core/containers/vector.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user