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.
Now the code reformater saves the bookmarks/breakpoints when the code is reformatted because of the fix of the editor bug #5620. However when the guarded sections are generated by the form module the bookmarks and breakpoints placed inside the guarded section would still be moved to the end of the section. Could it be possible to use some simple diff for regenerating of the guarded sections? E.g. compare the beginings (forward) and endings (backward) of the new content of the guarded section with its current content and only replace the middle part that differs?
*** This issue has been marked as a duplicate of 18350 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.