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 227538
Collapse All | Expand All

(-)a/php.editor/src/org/netbeans/modules/php/editor/nav/FoldingScanner.java (-1 / +3 lines)
Lines 319-325 Link Here
319
        }
319
        }
320
320
321
        private void addFold(final ASTNode node) {
321
        private void addFold(final ASTNode node) {
322
            addFold(createOffsetRange(node));
322
            if (!(node instanceof ASTError)) {
323
                addFold(createOffsetRange(node));
324
            }
323
        }
325
        }
324
326
325
        private void addFold(final OffsetRange offsetRange) {
327
        private void addFold(final OffsetRange offsetRange) {

Return to bug 227538