1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2015-01-03 22:56:16 -08:00
parent 4af00a316e
commit 3637dd4923

View file

@ -25,7 +25,6 @@ import org.eclipse.cdt.internal.core.model.ext.SourceRange;
import org.eclipse.cdt.internal.ui.editor.SelectionHistory;
public class StructureSelectEnclosingAction extends StructureSelectionAction {
public static final String PREFIX = "StructureSelectEnclosing."; //$NON-NLS-1$
public StructureSelectEnclosingAction(ResourceBundle bundle, ITextEditor editor, SelectionHistory history) {
@ -34,7 +33,6 @@ public class StructureSelectEnclosingAction extends StructureSelectionAction {
@Override
public ISourceRange doExpand(IASTTranslationUnit ast, SourceRange current) {
ISourceRange newSourceRange = expandToEnclosing(ast, current);
if (newSourceRange != null) {
history.remember(current);