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.
When placing the caret on a "return" keyword, highlight all exit points of the current method body if "Mark Occurrences" of "Exit Points From Method" has been enabled. This would make it consistent with other "Mark Occurrences", where placing the caret on one occurrence of a certain thing marks all occurrences of that thing. See also issue 109903: Maybe marking exit points by placing the caret on the return type should be a separate option from the above, if it is adopted. Personally I find the current behavior unintuitive, as exit points are not occurrences of the return type, at least not in the sense in which occurrences of a type are handled elsewhere. A possible alternative would be to highlight exit points of a block when placing the caret on the opening brace of a block.