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.

View | Details | Raw Unified | Return to bug 256427
Collapse All | Expand All

(-)a/editor.bracesmatching/src/org/netbeans/modules/editor/bracesmatching/BraceMatchingSidebarComponent.java (-1 / +1 lines)
Lines 725-731 Link Here
725
                int y2 = baseUI.getYFromPos(rel.getEnd().getOffset());
725
                int y2 = baseUI.getYFromPos(rel.getEnd().getOffset());
726
726
727
                // only support preceding related segments, for now
727
                // only support preceding related segments, for now
728
                if (y2 < yFrom) {
728
                if (y2 < yPos) {
729
                    // the related content will be displayed
729
                    // the related content will be displayed
730
                    contentHeight += y2 - y1 + lineHeight;
730
                    contentHeight += y2 - y1 + lineHeight;
731
                    // and finally the suppression line:
731
                    // and finally the suppression line:

Return to bug 256427