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 13120

Summary: Undoing change made in explorer jumps to the end of file
Product: projects Reporter: Milan Kubec <mkubec>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 20532    
Bug Blocks:    

Description Milan Kubec 2001-06-22 16:51:52 UTC
If you undo change made in Explorer by Ctrl+Z or Undo cursor jumps to the last
line in file regardless where it was before.
Comment 1 Jesse Glick 2001-06-22 17:21:06 UTC
Sorry, side-effect of the way changes are made to source from the Explorer:
every such change wipes out the entire document and regenerates it from scratch.
When the change is made, it is possible to keep the cursor position more or less
intact (thanks to your earlier bug report); but AFAIK the Ant module is not even
involved in the undoing of changes, this occurs in the basic editor
infrastructure. So the only reasonable solution I can see is to generate source
in a smarter way, which is not going to happen without good general XML support.
Comment 2 Milan Kubec 2001-06-27 14:24:25 UTC
Verified.
Comment 3 Quality Engineering 2003-06-30 14:46:59 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.