![]() When starting a selection from only carets, the action `editor::SelectPrevious` behaved in a manner inconsistent with `editor::SelectNext` as well as equivalent keybinds in editors such as VSCode, by selecting substrings of whole words matching the initially selected string on subsequent triggers. This fix brings the `select_previous` function in line with `select_next_internal`by calling `select_match_ranges` (previously an internal function of `select_next_internal`) in the same way it was previously used in the function that exhibited expected behavior. Furthermore, the relevant test was adapted to bring it in line with the equivalent test for the `editor::SelectNext` action Closes #24346 Release Notes: - Fixed inconsistent SelectPrevious behavior |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |