mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-09-13 21:18:23 +02:00
This PR make buffer always dirty (with any undo/redo operation) if the editing buffer is unsyncronized with file on disk. By "unsyncronized", it means: 1. the file is deleted outside but the buffer in Notepad++ is kept. 2. the file is modified by another app but the buffer is not reloaded in Notepad++. Note that if the buffer is untitled, there's no correspondent file on the disk so the buffer is considered as independent therefore synchronized. Fix #10401, close #10616