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.
int y2 = baseUI.getYFromPos(rel.getEnd().getOffset());
// only support preceding related segments, for now
if (y2 < yFrom) {
if (y2 < yPos) {
// the related content will be displayed
contentHeight += y2 - y1 + lineHeight;
// and finally the suppression line: