Skip to content

Reverse lines: apply to whole document when selection is single line #257031

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hickford
Copy link
Contributor

@hickford hickford commented Jul 21, 2025

Previously, actions 'reverse lines', 'sort lines' and 'delete duplicate lines' did nothing when the selection starts and ends on the same line. This could be confusing if the user was trying to sort the document and nothing happened.

Instead, apply the action to the whole document. This is more useful.

Likewise for actions 'Delete duplicate lines' and 'Sort lines'
@ivanstepanovftw

This comment was marked as off-topic.

@mjbvz mjbvz assigned Tyriar and unassigned mjbvz Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants