Project: JDT
Bug 80359 Selection inside comment using surround refactoring [refactoring]
Reported: 2004-12-07 06:43:56 | Status: verified fixed

200412011139: When selecting an entire line ending with a //$NON-NLS-n$ comment using the line number ruler, the error message "Selection ends inside a comment" appears. The refactoring should be able to deal with such selections, since it ends on a single-line comment, which is obviously contained in the selection.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/CommentAnalyzer.java