summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorConteZero <one@contezero.com>2021-10-21 23:02:46 +0200
committerConteZero <one@contezero.com>2021-10-27 19:45:52 +0200
commitfbee4efa5fd0f977075ff8e5e5436c59ea56d479 (patch)
tree1771593981610faacff1aeecf0bfdc6abfadb0b4 /editor
parent8474bb0a3c4c231016a827e582f9bb54979911f1 (diff)
Add option to make selection unique
Diffstat (limited to 'editor')
-rw-r--r--editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 7bf82fbd1b..1902ae66fb 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1824,6 +1824,7 @@ CodeTextEditor::CodeTextEditor() {
text_editor->set_draw_line_numbers(true);
text_editor->set_highlight_matching_braces_enabled(true);
text_editor->set_auto_indent_enabled(true);
+ text_editor->set_deselect_on_focus_loss_enabled(false);
status_bar = memnew(HBoxContainer);
add_child(status_bar);