mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
Merge branch 'Bugfix_500'
This commit is contained in:
commit
0046d2a2d7
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user