The function document_check_disk_status()
must be disentangled for a Reload all feature as first all file modifications have to be examined before any correct display warning can be created.
Furthermore, I interpret the value of doc->changed
as a modification of the text buffer in RAM, and doc->priv->file_disk_status
as the interpretation of the disk on file. A modification of the file on disk should not set doc->changed
to TRUE, as we may still close the application without losing data.
Some work in progress is visible here. Known issues:
RESPONSE_DOCUMENT_RELOAD_ALL
is not finished.—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.