mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-20 21:13:25 +08:00
+ chg: in case of (partial) selection, copy only selection instead of complete hyperlink (issue #1296)
This commit is contained in:
parent
2883945b0c
commit
be687cbc13
@ -3670,8 +3670,10 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
|
||||
if (s_flagPasteBoard) {
|
||||
s_bLastCopyFromMe = true;
|
||||
}
|
||||
if (!HandleHotSpotURL(SciCall_GetCurrentPos(), COPY_HYPERLINK)) {
|
||||
SciCall_CopyAllowLine();
|
||||
if (!SciCall_IsSelectionEmpty() ||
|
||||
!HandleHotSpotURL(SciCall_GetCurrentPos(), COPY_HYPERLINK))
|
||||
{
|
||||
SciCall_CopyAllowLine();
|
||||
}
|
||||
UpdateToolbar();
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user