summaryrefslogtreecommitdiffstats
path: root/scene/register_scene_types.cpp
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2020-05-03 17:08:15 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2020-07-11 17:09:58 +0100
commitbc4cee44582d2a90d0792d6b213f00be1043000b (patch)
tree001ab82ed2bd7c6b59a7cc06807cce988c484d66 /scene/register_scene_types.cpp
parent156daddaaf16e36eb932452d1e30f4f77d29aae6 (diff)
downloadredot-engine-bc4cee44582d2a90d0792d6b213f00be1043000b.tar.gz
Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r--scene/register_scene_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index 98678cd2e3..0ad1d39755 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -348,6 +348,7 @@ void register_scene_types() {
ClassDB::register_class<TextEdit>();
ClassDB::register_class<SyntaxHighlighter>();
+ ClassDB::register_class<CodeHighlighter>();
ClassDB::register_virtual_class<TreeItem>();
ClassDB::register_class<OptionButton>();