notepad-plus-plus/PowerEditor
Don Ho 6c3031f01b Fix file can be marked as saved even it's been deleted outside
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
2021-10-05 02:32:40 +02:00
..
Test Add support DarkMode, function list & auto-completion for TypeScript 2021-08-15 11:47:19 +02:00
bin Notepad++ 8.1.5 release 2021-09-27 13:24:09 +02:00
gcc Add gcc 32-bit build and improve build process 2021-09-13 23:17:11 +02:00
installer Update translations 2021-10-03 03:38:05 +02:00
misc/chameleon Remove the old icon 2016-09-21 09:06:22 +02:00
scintilla.original.forUpdating Upgrade Scintilla from v4.2.0 to v4.4.6 2021-02-21 19:14:40 +01:00
src Fix file can be marked as saved even it's been deleted outside 2021-10-05 02:32:40 +02:00
visual.net Fix NUL file-corruption issue after system shutting down brutally 2021-09-28 12:30:05 +02:00