diff --git a/Versions/build.txt b/Versions/build.txt index 8515a20bc..6726ecf8d 100644 --- a/Versions/build.txt +++ b/Versions/build.txt @@ -1 +1 @@ -2392 +2393 diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf index 6d072c412..af5e90429 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 85c70d359..25d05ea67 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -3832,14 +3832,12 @@ LRESULT MsgCommand(HWND hwnd, UINT umsg, WPARAM wParam, LPARAM lParam) case IDM_EDIT_UNDO: if (SciCall_CanUndo()) { SciCall_Undo(); - UpdateToolbar(); } break; case IDM_EDIT_REDO: if (SciCall_CanRedo()) { SciCall_Redo(); - UpdateToolbar(); } break; @@ -7013,7 +7011,7 @@ static LRESULT _MsgNotifyFromEdit(HWND hwnd, const LPNMHDR pnmh, const SCNotific bool bModified = true; if ((iModType & SC_MOD_BEFOREINSERT) || ((iModType & SC_MOD_BEFOREDELETE))) { if (!((iModType & SC_PERFORMED_UNDO) || (iModType & SC_PERFORMED_REDO))) { - if (!_InUndoRedoTransaction()) { + if ((!_InUndoRedoTransaction() && !SciCall_IsSelectionEmpty()) || Sci_IsMultiOrRectangleSelection()) { _SaveRedoSelection(_SaveUndoSelection()); } } diff --git a/src/VersionEx.h b/src/VersionEx.h index 7439a00b1..0452b63b8 100644 --- a/src/VersionEx.h +++ b/src/VersionEx.h @@ -7,8 +7,8 @@ #define SAPPNAME "Notepad3" #define VERSION_MAJOR 5 #define VERSION_MINOR 19 -#define VERSION_REV 714 -#define VERSION_BUILD 2392 +#define VERSION_REV 715 +#define VERSION_BUILD 2393 #define SCINTILLA_VER 420 #define ONIGURUMA_REGEX_VER 6.9.3 #define VERSION_PATCH BETA