godot/tests
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
..
core Fix big negative numbers printing incorrect decimals in num_real 2022-10-15 17:57:54 -05:00
data File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:35 +02:00
python_build ci: add basic test pipeline for shader builders 2022-08-19 20:32:13 +09:00
scene Add Selection and Caret for Next Occurrence of Selection 2022-10-21 08:26:53 +02:00
servers [Text Server] Prevent composite glyphs which incorporate kashida from being used for justification. Update TextServer tests to clean up on fail. 2022-08-05 19:35:38 +03:00
create_test.py Add a Python script to create new test suites more quickly 2022-08-20 14:41:05 +02:00
SCsub Remove unused legacy tests 2022-04-07 00:38:44 +02:00
test_macros.cpp Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
test_macros.h Fix key mapping changes when moving from macOS to other platform 2022-09-07 18:45:35 +02:00
test_main.cpp Expose registration of physics servers to GDExtension 2022-09-07 15:05:46 +02:00
test_main.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_tools.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_utils.cpp Rename String plus_file to path_join 2022-08-29 19:38:13 -05:00
test_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_validate_testing.h Variant memory pools 2022-07-04 12:01:46 +01:00