summaryrefslogtreecommitdiff
path: root/tools/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2016-03-30 19:32:45 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2016-04-06 18:27:58 +0100
commitd78e98e2a49bf952dd3e38e4a8359903d03bf42c (patch)
tree9938bf6509986382c386b803c407814ba3de1157 /tools/editor/editor_settings.cpp
parentd5191a610b9beb833cd9fc0e6607cfa95365be64 (diff)
Option to toggle syntax highlighting
Diffstat (limited to 'tools/editor/editor_settings.cpp')
-rw-r--r--tools/editor/editor_settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/editor_settings.cpp b/tools/editor/editor_settings.cpp
index 8402a60438..255ad40bce 100644
--- a/tools/editor/editor_settings.cpp
+++ b/tools/editor/editor_settings.cpp
@@ -409,6 +409,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
set("text_editor/current_line_color",Color(0.3,0.5,0.8,0.15));
set("text_editor/word_highlighted_color",Color(0.8,0.9,0.9,0.15));
+ set("text_editor/syntax_highlighting", true);
+
set("text_editor/highlight_all_occurrences", true);
set("text_editor/scroll_past_end_of_file", false);