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.
Product Version: NetBeans IDE Dev (Build 080729) Java: 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) 1. Create a new Java class 2. Toggle bookmark on the line 1 (where the start of the comment "To change this template..." is) 3. Delete the comment 4. Undo the delete operation 5. Go to line 1 (Bookmark is still there) 6. Toggle Bookmark -> 2nd bookmark is inserted Now repeat the same steps excluding step 5 (after you undo the changes, invoke "Toogle Bookmark" on the line 4, where the caret should remain) -> bookmark on the line 1 is removed in spite the fact that caret is on line 4...
The issue can be reproduced using the "Paste" instead of "Undo"... Well, maybe I make P4 of this issue...
Hanzi, this seems to be result of your recent fix ( Issue 60390 ). Works ok in Product Version: NetBeans IDE Dev (Build 20080704073734) Java: 1.6.0_04-dp; Java HotSpot(TM) 64-Bit Server VM 1.6.0_04-b12-45-optimized System: Mac OS X version 10.5.3 running on x86_64; MacRoman; en_US (nb)
Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next".
NetBeans.org Migration: changing resolution from LATER to WONTFIX