Files
oak-gpui/crates
HansandThorsten Ball 9cbde74274 Refactor selection expansion logic into a separate method (#10117)
Release Notes:

- N/A

This commit introduces a new method `range` to calculate the target
range for selection expansion based on the current selection, movement
times, and other parameters. The `expand_selection` method is refactored
to use this new `range` method, simplifying the logic for expanding a
selection and making the code more modular and reusable. The `range`
method encapsulates the logic for calculating the new selection range,
including handling linewise selection and adjustments for surrounding
newlines, making it easier to understand and maintain the selection
expansion functionality.

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
2024-04-04 08:35:26 +02:00
..
2024-03-29 21:12:47 -04:00
2024-04-03 11:35:23 -06:00
2024-03-28 18:32:11 +01:00
2024-03-29 13:17:48 -04:00
2024-03-20 15:52:02 +01:00
2024-03-11 10:45:57 +01:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-03-14 17:05:07 -04:00
2024-03-28 18:32:11 +01:00
2024-04-03 12:11:28 -04:00