From e60678f193828c73dc17f3aa5418f2b0d64a0e2f Mon Sep 17 00:00:00 2001 From: Volkan Gezer Date: Wed, 29 May 2024 13:06:43 +0200 Subject: enable custom separators to treat different characters as words --- editor/code_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor/code_editor.cpp') diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index ee0108df8e..4772b476e8 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1049,6 +1049,9 @@ void CodeTextEditor::update_editor_settings() { text_editor->set_smooth_scroll_enabled(EDITOR_GET("text_editor/behavior/navigation/smooth_scrolling")); text_editor->set_v_scroll_speed(EDITOR_GET("text_editor/behavior/navigation/v_scroll_speed")); text_editor->set_drag_and_drop_selection_enabled(EDITOR_GET("text_editor/behavior/navigation/drag_and_drop_selection")); + text_editor->set_use_default_word_separators(EDITOR_GET("text_editor/behavior/navigation/use_default_word_separators")); + text_editor->set_use_custom_word_separators(EDITOR_GET("text_editor/behavior/navigation/use_custom_word_separators")); + text_editor->set_custom_word_separators(EDITOR_GET("text_editor/behavior/navigation/custom_word_separators")); // Behavior: Indent set_indent_using_spaces(EDITOR_GET("text_editor/behavior/indent/type")); -- cgit v1.2.3