From b24734df8ff1c0b1d4f033f3fb78089301a2e9bc Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sat, 18 Nov 2023 20:24:20 +0100 Subject: [PATCH] Fix backspace keystroke not working for multi-editing Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14359#issuecomment-1815898951 --- PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index c73d30d9c90..560b259c4da 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -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.