godot/scene
Alfred Reinold Baudisch 7d15ecc3af Add Selection and Caret for Next Occurrence of Selection
Adds the bind `add_selection_for_next_occurrence` to TextEdit, with CTRL+D as the default shortcut.

When the bind is performed, ff a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.

If no selection is currently active with the last caret in text fields, selects the word currently under the caret.

The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets. The viewport is adjusted to the latest newly added caret.

The bind and the behaviour is similar to VS Code's "Add Selection to Next Find Match" and JetBrains' "Add Selection for Next Occurrence". It takes advantage of the multi-caret API.

The default shortcut for `select_word_under_caret` has been changed to ALT+G, in order to give priority to CTRL+D for `add_selection_for_next_occurrence` to better align with popular IDEs and editors.
2022-10-21 08:26:53 +02:00
..
2d Rename Camera2D's smoothing to position_smoothing 2022-10-11 16:51:26 +02:00
3d Merge pull request #67249 from wuyingnan/fix_quaternion_typo 2022-10-19 21:02:14 +02:00
animation
audio
debugger
gui Add Selection and Caret for Next Occurrence of Selection 2022-10-21 08:26:53 +02:00
main Expose Viewport::get_screen_transform to GDScript 2022-10-15 23:37:59 +02:00
resources Fix typo in VisualShader DistanceFade node 2022-10-18 18:20:31 +02:00
theme
property_utils.cpp
property_utils.h
register_scene_types.cpp
register_scene_types.h
scene_string_names.cpp
scene_string_names.h
SCsub