Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367783

Summary: [typing] Undo doesn't clear Dirty File Property for External Files
Product: [Eclipse Project] JDT Reporter: Nathan Reynolds <numeralnathan>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nathan Reynolds CLA 2012-01-03 13:05:12 EST
Build Identifier: 20110916-0149

If I edit a file that belongs to a project in the workspace and then undo the changes to the last save, the dirty file property for the file is cleared.  If I do the same for a file that is not part of any project, the dirty file property for the file is not reverted.  The dirty file property should be cleared.

Reproducible: Always

Steps to Reproduce:
1. Drag a txt file from Windows Explorer onto Eclipse
2. Add a space to the txt file in the Eclipse editor
3. Hit Ctrl-Z to undo the changes
4. Notice that the * in front of the file name remains
5. Close Eclipse
6. Notice that Eclipse prompts the user to save the file
Comment 1 Dani Megert CLA 2012-01-04 03:50:49 EST

*** This bug has been marked as a duplicate of bug 214351 ***