[TextEdit] Expose all auto-wrap modes.
This commit is contained in:
@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user