Community
Participate
Working Groups
When a file is out-of-sync we show a dialog where the user can choose whether to keep the current Eclipse editor content or replace it with the content from the file system. If the Eclipse editor content is kept then we don't dirty the editor and also don't change the file on the file system. Problems: 1. When closing the editor we don't notify the user and the Eclipse content is lost. 2. When reopening the file we tell the user again that the file is not in sync. ==> We should synchronize the file and then paste the Eclipse editor content into it so that it gets dirty.
Like that since 1.0!
*** Bug 123598 has been marked as a duplicate of this bug. ***
I've fixed the data loss bug (1.) which is really what this bug is all about. Fixed in master: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=5719618e550ebc69298a1fbbf203d534a846a193
Verified in I20120429-2000.