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 - Undoing change made in explorer jumps to the end of file
Summary: Undoing change made in explorer jumps to the end of file
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jesse Glick
Depends on: 20532
  Show dependency tree
Reported: 2001-06-22 16:51 UTC by Milan Kubec
Modified: 2003-06-30 14:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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
Comment 3 Quality Engineering 2003-06-30 14:46:59 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.