X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/actions/GotoMatchingBracketAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/actions/GotoMatchingBracketAction.java index 4bd636d..ae586c0 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/actions/GotoMatchingBracketAction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/actions/GotoMatchingBracketAction.java @@ -11,22 +11,21 @@ import net.sourceforge.phpeclipse.phpeditor.PHPEditorMessages; import org.eclipse.jface.action.Action; - public class GotoMatchingBracketAction extends Action { - public final static String GOTO_MATCHING_BRACKET= "GotoMatchingBracket"; //$NON-NLS-1$ - + public final static String GOTO_MATCHING_BRACKET = "GotoMatchingBracket"; //$NON-NLS-1$ + private final PHPEditor fEditor; - + public GotoMatchingBracketAction(PHPEditor editor) { super(PHPEditorMessages.getString("GotoMatchingBracket.label")); Assert.isNotNull(editor); - fEditor= editor; + fEditor = editor; setEnabled(null != fEditor); } - + public void run() { fEditor.gotoMatchingBracket(); } - + } \ No newline at end of file