This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 132843

Summary: Change marker (asterisk [*]) remains after fully un-do
Product: ide Reporter: frankioski <frankioski>
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Attaching messages.log
Attaching screen cap of JSP editor - before making change on line 23.
Attaching screen cap of JSP editor - after making change on line 23. Notice the asterisk appears beside the file name on the editor tab.
Attaching screen cap of JSP editor - after undoing change on line 23. Notice the asterisk still appears beside the file name on the editor tab despite total reversion back to original state (with no file-saving performed in the interim).
Re-attaching screen cap of JSP editor - before making change on line 23. (Please discard/disregard previous attachment id 60177--wrong screen cap.)

Description frankioski 2008-04-15 06:18:21 UTC
1. Opened up JSP file.
2. Made a simple change of deleting one character using the editor (did not save)
3. Undo previous change (Ctrl-z) (did not save)
4. Observed that the character is now put back, the file is now reverted back to original state, but the editor tab for
the file still shows an asterisk (*) beside the name, indicating that the file has changed.
The asterisk goes away only after saving.
This problem occurs with java and xml files also.  Former standard behavior in all previous versions was to not display
the asterisk after having cycled through the entire undo-change for a document using Ctrl-z repeatedly.  Why did this
feature go away?
Comment 1 frankioski 2008-04-15 06:18:53 UTC
Created attachment 60176 [details]
Attaching messages.log
Comment 2 frankioski 2008-04-15 06:20:19 UTC
Created attachment 60177 [details]
Attaching screen cap of JSP editor - before making change on line 23.
Comment 3 frankioski 2008-04-15 06:21:29 UTC
Created attachment 60178 [details]
Attaching screen cap of JSP editor - after making change on line 23. Notice the asterisk appears beside the file name on the editor tab.
Comment 4 frankioski 2008-04-15 06:23:00 UTC
Created attachment 60179 [details]
Attaching screen cap of JSP editor - after undoing change on line 23. Notice the asterisk still appears beside the file name on the editor tab despite total reversion back to original state (with no file-saving performed in the interim).
Comment 5 frankioski 2008-04-15 06:26:50 UTC
Created attachment 60180 [details]
Re-attaching screen cap of JSP editor - before making change on line 23. (Please discard/disregard previous attachment id 60177--wrong screen cap.)
Comment 6 Jiri Prox 2008-04-18 12:16:15 UTC

*** This issue has been marked as a duplicate of 132590 ***