mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
4af00a316e
commit
3637dd4923
1 changed files with 0 additions and 2 deletions
|
@ -25,7 +25,6 @@ import org.eclipse.cdt.internal.core.model.ext.SourceRange;
|
||||||
import org.eclipse.cdt.internal.ui.editor.SelectionHistory;
|
import org.eclipse.cdt.internal.ui.editor.SelectionHistory;
|
||||||
|
|
||||||
public class StructureSelectEnclosingAction extends StructureSelectionAction {
|
public class StructureSelectEnclosingAction extends StructureSelectionAction {
|
||||||
|
|
||||||
public static final String PREFIX = "StructureSelectEnclosing."; //$NON-NLS-1$
|
public static final String PREFIX = "StructureSelectEnclosing."; //$NON-NLS-1$
|
||||||
|
|
||||||
public StructureSelectEnclosingAction(ResourceBundle bundle, ITextEditor editor, SelectionHistory history) {
|
public StructureSelectEnclosingAction(ResourceBundle bundle, ITextEditor editor, SelectionHistory history) {
|
||||||
|
@ -34,7 +33,6 @@ public class StructureSelectEnclosingAction extends StructureSelectionAction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ISourceRange doExpand(IASTTranslationUnit ast, SourceRange current) {
|
public ISourceRange doExpand(IASTTranslationUnit ast, SourceRange current) {
|
||||||
|
|
||||||
ISourceRange newSourceRange = expandToEnclosing(ast, current);
|
ISourceRange newSourceRange = expandToEnclosing(ast, current);
|
||||||
if (newSourceRange != null) {
|
if (newSourceRange != null) {
|
||||||
history.remember(current);
|
history.remember(current);
|
||||||
|
|
Loading…
Add table
Reference in a new issue