-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Fix DELETE key not working in multi-editing #14359
Conversation
@CennoxX @vinsworldcom |
It seems to fix the Del and Backspace issue for me! You are a rock star! Cheers. |
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. |
It's working. |
else // posStart == posEnd) | ||
{ | ||
char eolStr[3]; | ||
Sci_TextRange tr; |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref: #14338 (comment)