mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: document modified flag not set properly (title, toolbar & statusbar only)
This commit is contained in:
parent
2d0f29e5f7
commit
d646daa5d2
@ -5672,19 +5672,17 @@ LRESULT MsgNotify(HWND hwnd,WPARAM wParam,LPARAM lParam)
|
||||
EditUpdateUrlHotspots(g_hwndEdit, (int)scn->position, (int)(scn->position + scn->length), bHyperlinkHotspot);
|
||||
}
|
||||
|
||||
if (scn->linesAdded != 0) {
|
||||
UpdateLineNumberWidth();
|
||||
}
|
||||
|
||||
UpdateToolbar();
|
||||
|
||||
if (iMarkOccurrences) {
|
||||
EditClearAllMarks(g_hwndEdit, 0, -1);
|
||||
MarkAllOccurrences(0);
|
||||
}
|
||||
UpdateStatusbar();
|
||||
|
||||
bModified = TRUE;
|
||||
if (scn->linesAdded != 0) {
|
||||
UpdateLineNumberWidth();
|
||||
}
|
||||
UpdateToolbar();
|
||||
UpdateStatusbar();
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user