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.
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.
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.
Verified.
Resolved for 3.3.x or earlier, no new info since then -> closing.