+ fix: remove undo point for Copy (Ctrl+C).

This commit is contained in:
Rainer Kottenhoff 2019-09-18 12:52:33 +02:00
parent 15b12359b6
commit 8efdc7e522
4 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
2641
2642

View File

@ -3,7 +3,7 @@
<assemblyIdentity
name="Notepad3"
processorArchitecture="*"
version="5.19.918.2641"
version="5.19.918.2642"
type="win32"
/>
<description>Notepad3 BETA</description>

View File

@ -3938,7 +3938,7 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
if (s_flagPasteBoard) {
s_bLastCopyFromMe = true;
}
_BEGIN_UNDO_ACTION_
//~_BEGIN_UNDO_ACTION_
if (SciCall_IsSelectionEmpty()) {
if (!HandleHotSpotURLClicked(SciCall_GetCurrentPos(), COPY_HYPERLINK))
{
@ -3949,7 +3949,7 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam)
else {
SciCall_Copy();
}
_END_UNDO_ACTION_
//~_END_UNDO_ACTION_
UpdateToolbar();
}
break;

View File

@ -8,7 +8,7 @@
#define VERSION_MAJOR 5
#define VERSION_MINOR 19
#define VERSION_REV 918
#define VERSION_BUILD 2641
#define VERSION_BUILD 2642
#define SCINTILLA_VER 420
#define ONIGURUMA_REGEX_VER 6.9.3
#define UCHARDET_VER 2018.09.27