diff options
| author | Paulb23 | 2016-03-30 19:32:45 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-06 19:39:36 +0200 |
| commit | bb6cfc130b4e2d64508c9cf5883ad3c3e9f83d9f (patch) | |
| tree | fedbceb82d8b95975b0f1d40813baa0a5b9c697d /tools/editor/editor_settings.cpp | |
| parent | b3891246e5349eae7700faa17348cfa3b9fd2c7f (diff) | |
| download | godot-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.cpp | 2 |
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); |
