From d78e98e2a49bf952dd3e38e4a8359903d03bf42c Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Wed, 30 Mar 2016 19:32:45 +0100 Subject: Option to toggle syntax highlighting --- tools/editor/plugins/script_editor_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/editor/plugins') diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 625dcd697f..30b75e8dcb 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -300,7 +300,6 @@ void ScriptTextEditor::_load_theme_settings() { Color keyword_color= EDITOR_DEF("text_editor/keyword_color",Color(0.5,0.0,0.2)); - get_text_edit()->set_syntax_coloring(true); List keywords; script->get_language()->get_reserved_words(&keywords); for(List::Element *E=keywords.front();E;E=E->next()) { @@ -1950,6 +1949,7 @@ void ScriptEditor::edit(const Ref