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.
The text limit line is being drawn in initInfo. This is before the layers are drawn, so if you have a layer that colors the whole line the text limit line won't appear over that layer. This looks odd. I moved the relevant code to graphicsSpecificUpdates because we aren't interested in printing the line. It might be best to move it someplace else, but it should happen after all the layers are drawn.
I think best is to draw it after all drawing is done, therefore I propose to put it at the end of draw method. I think there is no difference between having it inside graphicsSpecificUpdates or at the end of draw method, however I slightly prefer the draw method. Proposed diff below.
Created attachment 11062 [details] diff
Fixed in Nevada Patch 1 and in Arrow.
after merging code folding to trunk this problem disappeared. Unfortunatelly, another arised - issue #38636 BTW, attached patch(diff) will probably cause that text limit line will overwrite text, just as in issue #38636