diff options
author | ConteZero <one@contezero.com> | 2021-10-21 23:02:46 +0200 |
---|---|---|
committer | ConteZero <one@contezero.com> | 2021-10-27 19:45:52 +0200 |
commit | fbee4efa5fd0f977075ff8e5e5436c59ea56d479 (patch) | |
tree | 1771593981610faacff1aeecf0bfdc6abfadb0b4 /editor | |
parent | 8474bb0a3c4c231016a827e582f9bb54979911f1 (diff) |
Add option to make selection unique
Diffstat (limited to 'editor')
-rw-r--r-- | editor/code_editor.cpp | 1 |
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); |