1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #90743 from timothyqiu/empty-selection-clipboard

Add TextEdit option to prevent copying without a selection
This commit is contained in:
Rémi Verschelde
2024-09-23 12:27:35 +02:00
9 changed files with 112 additions and 0 deletions

View File

@@ -668,6 +668,9 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_RANGE, "text_editor/appearance/whitespace/line_spacing", 4, "0,50,1")
// Behavior
// Behavior: General
_initial_set("text_editor/behavior/general/empty_selection_clipboard", true);
// Behavior: Navigation
_initial_set("text_editor/behavior/navigation/move_caret_on_right_click", true, true);
_initial_set("text_editor/behavior/navigation/scroll_past_end_of_file", false, true);