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.
I would like to rewrite o.n.editor.Annotations to be more efficient: 1) Get rid of marks and the markChain. 2) Compute annotations combinations lazily once a particular line is about to be displayed. 3) Hold annotations in a vector according to their underlying position. 3) Possibly have a special handling by the view hierarchy rather than just a highlighting layer.
Mila, as another perf improvements we'd like to see method: updateAnnotations(collectionForRemove, collectionToAdd) then we can prevent expensive sequence in clients code like: for (anno: collectionForRemove) { anno.detachImpl(); } for (anno: collectionToAdd) { anno.attachImpl(); }
*** Bug 205842 has been marked as a duplicate of this bug. ***