summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorVolkan Gezer <volkangezer@gmail.com>2024-05-29 13:06:43 +0200
committerVolkan Gezer <volkangezer@gmail.com>2024-06-24 20:43:13 +0200
commite60678f193828c73dc17f3aa5418f2b0d64a0e2f (patch)
tree124b57e94d04ea3ef6f95b0e8d3a6e63b213babe /editor/code_editor.cpp
parent05442e81c0fac409269662d090273159c0b5a210 (diff)
downloadredot-engine-e60678f193828c73dc17f3aa5418f2b0d64a0e2f.tar.gz
enable custom separators to treat different characters as words
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp3
1 files changed, 3 insertions, 0 deletions
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"));