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

Fix CodeTextEditor.delete_lines affecting lines without selected characters #72379

Closed

Conversation

aXu-AP
Copy link
Contributor

@aXu-AP aXu-AP commented Jan 30, 2023

Superseded by #72671

Delete lines operation would delete one extra line if selection ends at new line. This fixes that. Also fixes some misspellings in delete_lines.

I didn't open a separate issue for this, but it's similiar to #54362. Also makes more sense with empty lines once #72265 gets fixed. So this completes my three part venture to make an already great code editor a bit more robust :)

…acters

Delete lines operation would delete one extra line if selection ends at new line. This fixes that. Also fixes some typos in delete_lines.
@aXu-AP aXu-AP requested a review from a team as a code owner January 30, 2023 13:29
@akien-mga akien-mga added this to the 4.0 milestone Jan 30, 2023
@MewPurPur
Copy link
Contributor

LGTM, it's the same logic as the approved PR

@aXu-AP
Copy link
Contributor Author

aXu-AP commented Feb 2, 2023

I'm currently rewriting this to solve a few more issues, so this can be put on hold.

@aXu-AP aXu-AP marked this pull request as draft February 2, 2023 07:21
@YuriSizov
Copy link
Contributor

Superseded by #72671.

@YuriSizov YuriSizov closed this Feb 3, 2023
@aXu-AP aXu-AP deleted the code_editor_delete_lines_fix branch February 15, 2023 20:18
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