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 DELETE key not working in multi-editing #14359

Closed

Conversation

donho
Copy link
Member

@donho donho commented Nov 16, 2023

@donho
Copy link
Member Author

donho commented Nov 16, 2023

@CennoxX @vinsworldcom
Could you check this PR please?
It should fix the issue found here #14338 (comment) by @CennoxX .

@vinsworldcom
Copy link

It seems to fix the Del and Backspace issue for me!

You are a rock star!

Cheers.

@donho donho closed this in c517985 Nov 16, 2023
@donho donho deleted the fix_DEL_MULTI-EDIT_not_working branch November 16, 2023 17:32
@CennoxX
Copy link
Contributor

CennoxX commented Nov 17, 2023

Hi @donho, this does work at the line end with delete, but it doesn't work for backspace at the line start, if I use alt and the curser to drag a multi cursor at the beginning of a line.

This only works, if I pressed enter before, or if the cursors were set with ctrl and individual clicks.
output2

@donho
Copy link
Member Author

donho commented Nov 18, 2023

@CennoxX
Fixed in b24734d (in master)
Could you check it?

@CennoxX
Copy link
Contributor

CennoxX commented Nov 20, 2023

It's working.
Thank you for these excellent improvements to an already great tool!

else // posStart == posEnd)
{
char eolStr[3];
Sci_TextRange tr;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@donho Shouldn't be Sci_TextRangeFull used instead of deprecated Sci_TextRange? Together with the corresponding SCI_GETTEXTRANGEFULL.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chcg
You are absolutely right!
8ae049a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants