summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-16 18:48:58 +0200
committerGitHub <noreply@github.com>2021-08-16 18:48:58 +0200
commitcfdac0973c2f1e5a3349c3d80262be130744384a (patch)
treea46c0cc1ffda2c4d39aab7ab699f54e8315612ed /modules/mono/csharp_script.cpp
parent8383e4e06d6420eba6e04106d5037aa18c4ed30b (diff)
parentbcfc591f86faf00fbed361a4feb2ee6024ea7e29 (diff)
downloadredot-engine-cfdac0973c2f1e5a3349c3d80262be130744384a.tar.gz
Merge pull request #51698 from Paulb23/text-editor-settings
Reorganise text editor settings
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 5c5a4fc1ec..1f7f1390ea 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -548,10 +548,10 @@ String CSharpLanguage::make_function(const String &, const String &, const Packe
String CSharpLanguage::_get_indentation() const {
#ifdef TOOLS_ENABLED
if (Engine::get_singleton()->is_editor_hint()) {
- bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", 0);
+ bool use_space_indentation = EDITOR_DEF("text_editor/behavior/indent/type", 0);
if (use_space_indentation) {
- int indent_size = EDITOR_DEF("text_editor/indent/size", 4);
+ int indent_size = EDITOR_DEF("text_editor/behavior/indent/size", 4);
String space_indent = "";
for (int i = 0; i < indent_size; i++) {