From d78d417f7d357c4e0433d104ed2b69a861221123 Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Fri, 18 Aug 2017 17:05:57 +0200 Subject: [PATCH] + fixed: "file modified" flag not set on Ctrl+X actions --- src/Notepad3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Notepad3.c b/src/Notepad3.c index 6b84efd9c..6833e0bc4 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -7040,6 +7040,7 @@ int BeginSelUndoAction() if (sel.currPos != sel.anchorPos) { token = UndoSelectionMap(-1, &sel); if (token >= 0) { + bModified = TRUE; SendMessage(hwndEdit, SCI_BEGINUNDOACTION, 0, 0); SendMessage(hwndEdit, SCI_ADDUNDOACTION, (WPARAM)token, 0); }