1. At line 3747 of document.c the value of doc->priv->file_disk_status is set to FILE_OK immediately after it was set to FILE_CHANGED. This seems a bug, possible this glitch was earlier mentioned in the comments here. This information is needed to implement reload all, but disappears too early. (A similar field doc->changed nicely updates only when the text buffer is updated. It has another purpose, I know)

  2. Studying the behavior in some more detail I wonder this enumeration type can be simplified:

typedef enum
{
	FILE_OK,
	FILE_CHANGED, /* also valid for deleted files */
	/* FILE_IGNORE -->  Not needed anymore? */
}
FileDiskStatus;


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3711@github.com>