From 8efdc7e522131bd60640ad6b18bdb98bfff76c3e Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Wed, 18 Sep 2019 12:52:33 +0200 Subject: [PATCH] + fix: remove undo point for Copy (Ctrl+C). --- Versions/build.txt | 2 +- res/Notepad3.exe.manifest.conf | 2 +- src/Notepad3.c | 4 ++-- src/VersionEx.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Versions/build.txt b/Versions/build.txt index 2ba5ae04b..768eb73b8 100644 --- a/Versions/build.txt +++ b/Versions/build.txt @@ -1 +1 @@ -2641 +2642 diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf index 5d85c618d..fbd41db38 100644 --- a/res/Notepad3.exe.manifest.conf +++ b/res/Notepad3.exe.manifest.conf @@ -3,7 +3,7 @@ Notepad3 BETA diff --git a/src/Notepad3.c b/src/Notepad3.c index 9211fc44a..0d632c7db 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -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; diff --git a/src/VersionEx.h b/src/VersionEx.h index 41bb1582c..42fd5d9bb 100644 --- a/src/VersionEx.h +++ b/src/VersionEx.h @@ -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