godot/core
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
..
config Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
crypto
debugger Remove NO_THREADS fallback code, Godot 4 requires thread support 2022-10-03 11:23:26 +02:00
error Logger: Don't print error twice on `ERR_PRINT` 2022-10-04 17:56:30 +02:00
extension GDExtension: add support for abstract and virtual classes 2022-10-16 09:02:49 +02:00
input Add Selection and Caret for Next Occurrence of Selection 2022-10-21 08:26:53 +02:00
io Merge pull request #63332 from KoBeWi/static_images_aka_photos 2022-10-15 12:56:57 +02:00
math Merge pull request #67057 from Anutrix/rng-generator-default-seed 2022-10-13 21:17:09 +02:00
object GDExtension: add support for abstract and virtual classes 2022-10-16 09:02:49 +02:00
os Merge pull request #66003 from voidshine/fix_midi_event_mutation 2022-10-12 08:55:09 +02:00
string Fix big negative numbers printing incorrect decimals in num_real 2022-10-15 17:57:54 -05:00
templates Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CAST 2022-10-04 10:22:24 +02:00
variant Merge pull request #67118 from Mickeon/ 2022-10-17 17:30:38 +02:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
core_bind.cpp Merge pull request #67244 from RandomShaper/split_render_further_2 2022-10-11 21:08:42 +02:00
core_bind.h Merge pull request #67244 from RandomShaper/split_render_further_2 2022-10-11 21:08:42 +02:00
core_builders.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
core_constants.cpp Expose `PROPERTY_USAGE_READ_ONLY` 2022-09-28 22:50:55 +01:00
core_constants.h
core_globals.cpp
core_globals.h
core_string_names.cpp
core_string_names.h
doc_data.cpp
doc_data.h Implement ScriptExtension::get_documentation 2022-10-11 08:22:25 +02:00
register_core_types.cpp Remove unused includes & move some includes to top of file 2022-09-23 19:06:31 -04:00
register_core_types.h
typedefs.h
version.h