mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[TextEdit] Expose all auto-wrap modes.
This commit is contained in:
parent
a3c49ad2f0
commit
75e6ec8874
7 changed files with 93 additions and 38 deletions
|
@ -1035,6 +1035,7 @@ void CodeTextEditor::update_editor_settings() {
|
|||
text_editor->set_line_folding_enabled(EDITOR_GET("text_editor/appearance/lines/code_folding"));
|
||||
text_editor->set_draw_fold_gutter(EDITOR_GET("text_editor/appearance/lines/code_folding"));
|
||||
text_editor->set_line_wrapping_mode((TextEdit::LineWrappingMode)EDITOR_GET("text_editor/appearance/lines/word_wrap").operator int());
|
||||
text_editor->set_autowrap_mode((TextServer::AutowrapMode)EDITOR_GET("text_editor/appearance/lines/autowrap_mode").operator int());
|
||||
|
||||
// Appearance: Whitespace
|
||||
text_editor->set_draw_tabs(EDITOR_GET("text_editor/appearance/whitespace/draw_tabs"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue