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.
Summary: | "Save as" should never clear the Undo list | ||
---|---|---|---|
Product: | platform | Reporter: | hergo333 <hergo333> |
Component: | Text | Assignee: | issues@editor <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jtulach |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
hergo333
2009-09-24 11:14:02 UTC
This issue is about the Undo actions that are accessible for a file opened in the editor. Please, reassign it to a correct component. (May be it is editor/code?) Proposed scenario can be considered as valid: * An Undo actions stack for a file should be accessible for a user during a session, i.e. until restart of the IDE. * The actions like as "Save" ans "Save As..." should not clear the Undo actions stack. * In case of "Save As...", the Undo actions stack of old file should be reassigned to a newly created and re-opened file. Reassigning to editor, not sure though. I will check what happens but I am afraid it is be design ie. current behavior is given by design. I assume new document is created. Even if a new document is created the Undo stack should be assigned to it. From user's point of view I see no reason not to do that. If this is not a viable solution, the user should at least be notified that saving under a new name will lose the undo stack (but this is an ugly solution - marking the trap instead of removing it :). I probably won't fall in the same trap because I have learned to avoid it (it took me a few hours to rewrite the code again), but it makes "Save as" much less usable (to me at least). Bug prior to 7.0, not touched for the last 2 years --> P4. |