Reorganise text editor settings
This commit is contained in:
parent
d7ab7ff6be
commit
bcfc591f86
17 changed files with 308 additions and 286 deletions
|
|
@ -56,7 +56,7 @@ static void test_tokenizer(const String &p_code, const Vector<String> &p_lines)
|
|||
int tab_size = 4;
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (EditorSettings::get_singleton()) {
|
||||
tab_size = EditorSettings::get_singleton()->get_setting("text_editor/indent/size");
|
||||
tab_size = EditorSettings::get_singleton()->get_setting("text_editor/behavior/indent/size");
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
String tab = String(" ").repeat(tab_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue