From 2b26a8a1dec569759affa33a63e20ccf7118c5ea Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 12 Jan 2024 12:48:14 +0100 Subject: [PATCH] Disabled syntax highlighting in the editor's text editor module. It will need to be reworked. --- editor_modules/text_editor/text_editor_vanilla_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor_modules/text_editor/text_editor_vanilla_editor.cpp b/editor_modules/text_editor/text_editor_vanilla_editor.cpp index 20466c360..6c1c705ea 100644 --- a/editor_modules/text_editor/text_editor_vanilla_editor.cpp +++ b/editor_modules/text_editor/text_editor_vanilla_editor.cpp @@ -105,6 +105,7 @@ void TextEditorVanillaEditor::draw_minimap(const bool value) { } void TextEditorVanillaEditor::color_region(const String &fileextension) { + /* if (fileextension == "bbs") { Ref highlighter; highlighter.instance(); @@ -177,6 +178,7 @@ void TextEditorVanillaEditor::color_region(const String &fileextension) { text_editor->set_syntax_highlighter(highlighter); } + */ } void TextEditorVanillaEditor::clean_editor() {