Added setting to toggle auto indent
This commit is contained in:
parent
4722593448
commit
d586b98a20
3 changed files with 3 additions and 0 deletions
|
|
@ -616,6 +616,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
hints["text_editor/indent/type"] = PropertyInfo(Variant::INT, "text_editor/indent/type", PROPERTY_HINT_ENUM, "Tabs,Spaces");
|
||||
set("text_editor/indent/size", 4);
|
||||
hints["text_editor/indent/size"] = PropertyInfo(Variant::INT, "text_editor/indent/size", PROPERTY_HINT_RANGE, "1, 64, 1"); // size of 0 crashes.
|
||||
set("text_editor/indent/auto_indent", true);
|
||||
set("text_editor/indent/convert_indent_on_save", false);
|
||||
set("text_editor/indent/draw_tabs", true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue