Skip to content

Commit

Permalink
Allow multiline selection for Ctrl+F3 and Ctrl+Shift+F3, issue #805.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Jun 27, 2024
1 parent 57436b1 commit 2309bc4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Notepad4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4745,12 +4745,6 @@ LRESULT MsgCommand(HWND hwnd, WPARAM wParam, LPARAM lParam) {
SciCall_GetSelText(mszSelection);
mszSelection[cchSelection] = 0; // zero terminate

// Check lpszSelection and truncate newlines
char *lpsz = strpbrk(mszSelection, "\r\n");
if (lpsz) {
*lpsz = '\0';
}

const UINT cpEdit = SciCall_GetCodePage();
strcpy(efrData.szFind, mszSelection);

Expand Down

0 comments on commit 2309bc4

Please sign in to comment.