IDEA-188761 Alt+up/down navigation over method's of the class does not work in diff window

This commit is contained in:
peter
2018-04-05 18:49:36 +02:00
parent b0e4d246de
commit 4f24cbebe4
2 changed files with 8 additions and 0 deletions
@@ -26,6 +26,10 @@ import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;
public class MethodDownAction extends BaseCodeInsightAction implements DumbAware {
public MethodDownAction() {
setEnabledInModalContext(true);
}
@NotNull
@Override
protected CodeInsightActionHandler getHandler() {
@@ -31,6 +31,10 @@ import com.intellij.psi.PsiFile;
import org.jetbrains.annotations.NotNull;
public class MethodUpAction extends BaseCodeInsightAction implements DumbAware {
public MethodUpAction() {
setEnabledInModalContext(true);
}
@NotNull
@Override
protected CodeInsightActionHandler getHandler() {