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

(-)a/csl.api/src/org/netbeans/modules/csl/hints/infrastructure/SelectionHintsTask.java (+1 lines)
Lines 94-99 Link Here
94
            Math.max(evt.getMarkOffset(), evt.getCaretOffset())
94
            Math.max(evt.getMarkOffset(), evt.getCaretOffset())
95
        };
95
        };
96
        if (range == null || range.length != 2 || range[0] == -1 || range[1] == -1 || range[0] == range[1]) {
96
        if (range == null || range.length != 2 || range[0] == -1 || range[1] == -1 || range[0] == range[1]) {
97
            HintsController.setErrors(fileObject, SelectionHintsTask.class.getName(), Collections.<ErrorDescription>emptyList());
97
            return;
98
            return;
98
        }
99
        }
99
100

Return to bug 166890