diff options
| author | Noshyaar | 2017-12-25 08:40:20 +0700 |
|---|---|---|
| committer | GitHub | 2017-12-25 08:40:20 +0700 |
| commit | deda8974dff000455e5f9ad4f8dbafad7aa75b85 (patch) | |
| tree | 95a0f77559654eb8859b43fd3577b2335adb45df /editor/editor_settings.cpp | |
| parent | 5859db00d8b3820356f978cb66163875f8bc1c11 (diff) | |
| parent | a55870cd815d065acea099cf0baecaaf51aa1b16 (diff) | |
| download | godot-deda8974dff000455e5f9ad4f8dbafad7aa75b85.tar.gz godot-deda8974dff000455e5f9ad4f8dbafad7aa75b85.tar.zst godot-deda8974dff000455e5f9ad4f8dbafad7aa75b85.zip | |
Merge pull request #14853 from MattUV/context-menu
Adds an option to move cursor with right click in TextEdit
Diffstat (limited to 'editor/editor_settings.cpp')
| -rw-r--r-- | editor/editor_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index bd8592722..3bd592e93 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -351,6 +351,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { _initial_set("text_editor/cursor/caret_blink", true); _initial_set("text_editor/cursor/caret_blink_speed", 0.65); hints["text_editor/cursor/caret_blink_speed"] = PropertyInfo(Variant::REAL, "text_editor/cursor/caret_blink_speed", PROPERTY_HINT_RANGE, "0.1, 10, 0.1"); + _initial_set("text_editor/cursor/right_click_moves_caret", true); _initial_set("text_editor/theme/font", ""); hints["text_editor/theme/font"] = PropertyInfo(Variant::STRING, "text_editor/theme/font", PROPERTY_HINT_GLOBAL_FILE, "*.font,*.tres,*.res"); |
