+ fix: document modified flag not set properly (title, toolbar & statusbar only)

This commit is contained in:
Rainer Kottenhoff 2018-01-06 12:52:55 +01:00
parent 2d0f29e5f7
commit d646daa5d2

View File

@ -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;