Fix backspace keystroke not working for multi-editing

Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14359#issuecomment-1815898951
pull/14379/head
Don Ho 2023-11-18 20:24:20 +01:00
parent 975d29b30b
commit b24734df8f
1 changed files with 1 additions and 0 deletions

View File

@ -581,6 +581,7 @@ LRESULT ScintillaEditView::scintillaNew_Proc(HWND hwnd, UINT Message, WPARAM wPa
case VK_HOME:
case VK_END:
case VK_RETURN:
case VK_BACK:
execute(SCI_SETSELECTIONMODE, SC_SEL_STREAM); // When it's rectangular selection and the arrow keys are pressed, we switch the mode for having multiple carets.
execute(SCI_SETSELECTIONMODE, SC_SEL_STREAM); // the 2nd call for removing the unwanted selection while moving carets.