aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorPaulb232016-03-30 19:32:45 +0100
committerRémi Verschelde2016-04-06 19:39:36 +0200
commitbb6cfc130b4e2d64508c9cf5883ad3c3e9f83d9f (patch)
treefedbceb82d8b95975b0f1d40813baa0a5b9c697d /tools/editor/editor_settings.cpp
parentb3891246e5349eae7700faa17348cfa3b9fd2c7f (diff)
downloadgodot-bb6cfc130b4e2d64508c9cf5883ad3c3e9f83d9f.tar.gz
godot-bb6cfc130b4e2d64508c9cf5883ad3c3e9f83d9f.tar.zst
godot-bb6cfc130b4e2d64508c9cf5883ad3c3e9f83d9f.zip
Option to toggle syntax highlighting
(cherry picked from commit d78e98e2a49bf952dd3e38e4a8359903d03bf42c)
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 106193ac7..e498c0c37 100644
--- a/tools/editor/editor_settings.cpp
+++ b/tools/editor/editor_settings.cpp
@@ -485,6 +485,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);