Open a large file (> 10 MB) in editor. Now edit a part of it and save. Now scroll the file to view contents, a warning message appears:
"The document is modified by an external application. Do you want to reload?..."
The document is really not modified by external application here. However, user is unaware of the original fact and when clicks Ok to reload, the large document opens in editor again.
Analysis:
Perhaps this is happening due to time stamp gap calculation problem. The last saved time (internal to editor) and last modified time (in file system) of the file are considered as trigger for external file modification alerts. The time consumed for file save is more here and that is causing the issue. Look into DocumentChangeTracker class, last saved time set related code in open file and save file menus.