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 Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
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
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 Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
core_globals.cpp Variant memory pools 2022-07-04 12:01:46 +01:00
core_globals.h Variant memory pools 2022-07-04 12:01:46 +01:00
core_string_names.cpp Cleanup metadata usage 2022-05-06 00:27:10 +02:00
core_string_names.h Cleanup metadata usage 2022-05-06 00:27:10 +02:00
doc_data.cpp Fix missing method qualifiers in script doc 2022-07-24 23:00:19 +02:00
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 Fix extension registration order. 2022-02-20 10:58:46 -03:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
typedefs.h Change some math macros to constexpr 2022-03-09 16:24:32 +01:00
version.h Core: Move generated VERSION_HASH to a .cpp file 2022-02-09 09:20:17 +01:00