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.
There are frequent repaints (view rebuilds) when the text is rendered plain. With fix of issue #182900 (which uses RP for re-posting of the highlights changes) this is somewhat more visible. It's possibly because once the highlight layers report a change they can no longer provide data for an ongoing highlights sequence requested during view's rebuild. If this is a source of the problem then possibly once HighlightsViewFactory.fetchNextHighlight() is called and no next highlight gets returned it should possibly check for HVF.affectedRangeStart/EndOffset (needs monitor like in getAndClearAffectedRange()) and if it affects the current area for which the highlights are being read then a new highlights sequence should be requested immediately in fetchNextHighlight(). The affected area should probably be retained as is (though the factory is already incorporating the new highlights that were fired) since the just fired range may span beyond the area where the views are being currently rebuilt so it would be somewhat complicated to handle that properly.
We could also possibly consider a fix where the view factories would notify directly and the affected area coalescing would be done in the view hierarchy infrastructure. This way the the VH infrastructure could break the ongoing view rebuilding process once any view factory fires a change.
*** Bug 183165 has been marked as a duplicate of this bug. ***
*** Bug 183892 has been marked as a duplicate of this bug. ***
*** Bug 183909 has been marked as a duplicate of this bug. ***
*** Bug 184231 has been marked as a duplicate of this bug. ***
*** Bug 182990 has been marked as a duplicate of this bug. ***
*** Bug 183871 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/jet-main/rev/787d4297d4c6
*** Bug 183395 has been marked as a duplicate of this bug. ***
*** Bug 183800 has been marked as a duplicate of this bug. ***
*** Bug 184311 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201004170515* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/787d4297d4c6 User: Vita Stejskal <vstejskal@netbeans.org> Log: #183709: fixing repaints; do not use stale HighlightsSequence, but ask the container for a new sequence