summaryrefslogtreecommitdiffstats
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorHaSa1002 <johawitt@outlook.de>2020-07-22 22:41:10 +0200
committerHaSa1002 <johawitt@outlook.de>2020-07-23 15:19:09 +0200
commit5b51ae1c5d1b521030611398cf955055e0136669 (patch)
tree8a0107465daba2aa46027158dfde474ea5b8358d /editor/editor_settings.cpp
parent0cd98ec7e13038d09a77cf821e930be79026f943 (diff)
downloadredot-engine-5b51ae1c5d1b521030611398cf955055e0136669.tar.gz
Add multiple programming language support to class reference
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index 3a1a0d5b01..a3438b3601 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -495,6 +495,8 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
hints["text_editor/help/help_source_font_size"] = PropertyInfo(Variant::INT, "text_editor/help/help_source_font_size", PROPERTY_HINT_RANGE, "8,48,1");
_initial_set("text_editor/help/help_title_font_size", 23);
hints["text_editor/help/help_title_font_size"] = PropertyInfo(Variant::INT, "text_editor/help/help_title_font_size", PROPERTY_HINT_RANGE, "8,48,1");
+ _initial_set("text_editor/help/class_reference_examples", 0);
+ hints["text_editor/help/class_reference_examples"] = PropertyInfo(Variant::INT, "text_editor/help/class_reference_examples", PROPERTY_HINT_ENUM, "GDScript,C#,GDScript and C#");
/* Editors */