If i load an xml file and then save it again,
both creation time/date and modification time/date changed.
It should change neither.
If something is changed, the current time/date shall be adapted
and that is the modification date/time.
It shall be updated on the gui and that is what shall be saved also.
Intesting that the editor knows that there are no modifications as one can close the file
without saving.
so flag 'modified' must only be replaced by modification date/time.
Caution: shall be ensured, that modification time/date is earlier than current time/date.
Else loading not possible.
The creation date/time shall not be affected.
Only if saved as a new file, it shall be changed, as it is a copy.
To that end, the path of the current file shall be taken into account.
It is reasonable, that the current menu item is renamed into "save device file
as"
and that there is a menu item 'save device file' saving the current device files.
These are all represented on the GUI.
Notepad++ just disables the "Save" entry in the file menu and the short cut until modified.
Word 2010 has obvious an internal "modified" bit: Saving does nothing until you change something.
If i load an xml file and then save it again, both creation time/date and modification time/date changed.
It should change neither. If something is changed, the current time/date shall be adapted and that is the modification date/time. It shall be updated on the gui and that is what shall be saved also.
Intesting that the editor knows that there are no modifications as one can close the file without saving. so flag 'modified' must only be replaced by modification date/time. Caution: shall be ensured, that modification time/date is earlier than current time/date. Else loading not possible.
The creation date/time shall not be affected. Only if saved as a new file, it shall be changed, as it is a copy. To that end, the path of the current file shall be taken into account.
It is reasonable, that the current menu item is renamed into "save device file as" and that there is a menu item 'save device file' saving the current device files. These are all represented on the GUI.
same as i described for xml also applies to eds.