mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Changed indent type settings
This commit is contained in:
parent
02c041904f
commit
c4ffe89204
5 changed files with 5 additions and 5 deletions
|
|
@ -2420,7 +2420,7 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_base
|
|||
String GDScriptLanguage::_get_indentation() const {
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (SceneTree::get_singleton()->is_editor_hint()) {
|
||||
bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", "Tabs") == "Tabs" ? 0 : 1;
|
||||
bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", 0);
|
||||
|
||||
if (use_space_indentation) {
|
||||
int indent_size = EDITOR_DEF("text_editor/indent/size", 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue