Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add selections.all_row_ranges utility based on code from editor.join_lines #20449

Closed
wants to merge 1 commit into from

Conversation

mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Nov 9, 2024

Also updates this to use RangeInclusive, as that seems to be more natural.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 9, 2024
…in_lines`

Also updates this to use `RangeInclusive`, as that seems to be more natural.

Co-authored-by: Max <max@zed.dev>
@mgsloan mgsloan force-pushed the add-selections-all_row_ranges branch from 1565346 to 411350a Compare November 11, 2024 17:17
@mgsloan
Copy link
Contributor Author

mgsloan commented Nov 12, 2024

Realized why the code is the way it is and documented it in #20528. Seems better to not extract a utility for this right now.

@mgsloan mgsloan closed this Nov 12, 2024
@mgsloan mgsloan deleted the add-selections-all_row_ranges branch November 12, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant