return EditorCellAction.UP;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_DOWN && keyEvent.getModifiers() == 0) {
return EditorCellAction.DOWN;
}
<BUG>if (keyEvent.getKeyCode() == KeyEvent.VK_INSERT && keyEvent.isControlDown() && keyEvent.isShiftDown()) {
return EditorCellAction.INSERT_BEFORE;</BUG>
}
<BUG>if (keyEvent.getKeyCode() == KeyEvent.VK_INSERT && keyEvent.isControlDown()) {
return EditorCellAction.INSERT;</BUG>
}

return EditorCellAction.UP;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_DOWN && keyEvent.getModifiers() == 0) {
return EditorCellAction.DOWN;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_INSERT && keyEvent.getModifiers() == 0) {
return EditorCellAction.INSERT_BEFORE;
}
if (keyEvent.getKeyCode() == KeyEvent.VK_ENTER && keyEvent.isControlDown() && !(keyEvent.isShiftDown() || keyEvent.isAltDown())) {
return EditorCellAction.INSERT;
}
