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.
Summary: | Annotations are drawn behind the guarded block after external modif | ||
---|---|---|---|
Product: | editor | Reporter: | Milan Kubec <mkubec> |
Component: | Hints & Annotations | Assignee: | issues@editor <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 11208 | ||
Bug Blocks: | |||
Attachments: |
screenshot before
screenshot after |
Description
Milan Kubec
2003-09-19 10:11:56 UTC
Happend again after reload after basic external modification - no shortening of file was needed. I've turned on -J-Dnetbeans.debug.editor.document=true and the behavior is caused by the fact that the guarded sections get refreshed both when document is loaded or reloaded. The reason why the annotations are moved to the end of the block is that the new guarded section text gets inserted prior to removing the original guarded section text. This is hardly fixable unless the whole mechanism of guarded sections refreshing is changed to do comparisons and just incremental changes inside the section of the text that has to be changed. Please close it if you are satisfied with the explanation or reassign it to java module. Thanks. Reassigned to java module as Mila explained. It will not be fixed in 4.0 I don't understand what is the bug. I don't see any. Probably fixed by JavaEditor rewrite. The bug is still there, easier way to reproduce: 1) Create Form file, add couple of components to the form 2) Switch to Source, set couple of breakpoints in the source of the form 3) Switch to Design and modify the form 4) Go back to Source - all breakpoints are stored in the first line after guard. block Attaching screenshots before and after. Created attachment 23036 [details]
screenshot before
Created attachment 23037 [details]
screenshot after
Still valid in latest 6.0 build Vast changes required -> LATER. NetBeans.org Migration: changing resolution from LATER to WONTFIX |