@attila-v just use `document_check_disk_status()` to check if the file has changed on disk and use the `changed` field of the document structure to check if the buffer has been changed since it was last reloaded.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1471#issuecomment-299671307
