Skip to content

Commit

Permalink
Fix backspace keystroke not working for multi-editing
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Nov 18, 2023
1 parent 975d29b commit b24734d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b24734d

Please sign in to comment.